Proxy other /_synapse endpoints to the client API

Besides /_synapse/admin, there are other things like
/_synapse/oidc, etc.

We should just proxy everything.

Fixes #534 (Github Issue).
This commit is contained in:
Slavi Pantaleev 2020-06-09 08:12:58 +03:00
parent e48cfa4bcc
commit 65e5020596

View File

@ -150,7 +150,7 @@
}
{% endif %}
location /_synapse/admin {
location /_synapse {
{% if matrix_nginx_proxy_enabled %}
{# Use the embedded DNS resolver in Docker containers to discover the service #}
resolver 127.0.0.11 valid=5s;