Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Web client running even when disabled in config #1883

Closed
jrick opened this issue Feb 4, 2017 · 2 comments
Closed

Web client running even when disabled in config #1883

jrick opened this issue Feb 4, 2017 · 2 comments

Comments

@jrick
Copy link

jrick commented Feb 4, 2017

I'm running 0.19.0 built from source on centos, and was previously running a synapse 0.18.7 instance on a debian server using the official packages. I'm not sure if this is related to a change between the package and the source install, or if it is a bug in the 0.19 release. Regardless, in my config i have the line:

web_client: False

Yet the bundled web client is still running.

On my previous 0.18 instance, trying to access the server in a web browser opened a 404 error page with the message "No such resource".

@schnuffle
Copy link

The listener config contains a resource section:

- port: 8008
    tls: false
    bind_address: ''
    type: http

    x_forwarded: false

    resources:
      - names: [client, webclient]
        compress: true
      - names: [federation]
        compress: false

Drop the webclient from the resource section of the listeners, where you don't want it to be active.

@aaronraimist
Copy link
Contributor

Duplicate of #1417

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants