Lines 78-90
Link Here
|
78 |
# |
78 |
# |
79 |
# cpu_affinity: 0xFFFFFFFF |
79 |
# cpu_affinity: 0xFFFFFFFF |
80 |
|
80 |
|
81 |
# Whether to serve a web client from the HTTP/HTTPS root resource. |
81 |
# The path to the web client which will be served at /_matrix/client/ |
82 |
web_client: True |
82 |
# if 'webclient' is configured under the 'listeners' configuration. |
83 |
|
83 |
# |
84 |
# The root directory to server for the above web client. |
|
|
85 |
# If left undefined, synapse will serve the matrix-angular-sdk web client. |
86 |
# Make sure matrix-angular-sdk is installed with pip if web_client is True |
87 |
# and web_client_location is undefined |
88 |
# web_client_location: "/path/to/web/root" |
84 |
# web_client_location: "/path/to/web/root" |
89 |
|
85 |
|
90 |
# The public-facing base URL for the client API (not including _matrix/...) |
86 |
# The public-facing base URL for the client API (not including _matrix/...) |
Lines 152-158
Link Here
|
152 |
# List of resources to host on this listener. |
148 |
# List of resources to host on this listener. |
153 |
names: |
149 |
names: |
154 |
- client # The client-server APIs, both v1 and v2 |
150 |
- client # The client-server APIs, both v1 and v2 |
155 |
- webclient # The bundled webclient. |
151 |
# - webclient # The bundled webclient. (no longer available) |
156 |
|
152 |
|
157 |
# Should synapse compress HTTP responses to clients that support it? |
153 |
# Should synapse compress HTTP responses to clients that support it? |
158 |
# This should be disabled if running synapse behind a load balancer |
154 |
# This should be disabled if running synapse behind a load balancer |
Lines 179-185
Link Here
|
179 |
x_forwarded: false |
175 |
x_forwarded: false |
180 |
|
176 |
|
181 |
resources: |
177 |
resources: |
182 |
- names: [client, webclient] |
178 |
- names: [client] # change to "client, webclient" to activate web client |
|
|
179 |
# also set web_client_location to a correct location |
183 |
compress: true |
180 |
compress: true |
184 |
- names: [federation] |
181 |
- names: [federation] |
185 |
compress: false |
182 |
compress: false |