|
|
|
@@ -190,10 +190,6 @@ matrix_nginx_proxy_proxy_matrix_client_api_client_max_body_size_mb: 50 |
|
|
|
# Tells whether `/_synapse/client` is forwarded to the Matrix Client API server. |
|
|
|
matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_client_api_enabled: true |
|
|
|
|
|
|
|
# Tells whether `/_synapse/oidc` is forwarded to the Matrix Client API server. |
|
|
|
# Enable this if you need OpenID Connect authentication support. |
|
|
|
matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_oidc_api_enabled: false |
|
|
|
|
|
|
|
# Tells whether `/_synapse/admin` is forwarded to the Matrix Client API server. |
|
|
|
# Following these recommendations (https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.md), by default, we don't. |
|
|
|
matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_admin_api_enabled: false |
|
|
|
@@ -207,8 +203,6 @@ matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_prefix_regexes: | |
|
|
|
+ |
|
|
|
(['/_synapse/client'] if matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_client_api_enabled else []) |
|
|
|
+ |
|
|
|
(['/_synapse/oidc'] if matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_oidc_api_enabled else []) |
|
|
|
+ |
|
|
|
(['/_synapse/admin'] if matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_admin_api_enabled else []) |
|
|
|
+ |
|
|
|
(['/_synapse/metrics'] if matrix_nginx_proxy_proxy_synapse_metrics else []) |
|
|
|
|