Ver código fonte

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).
pull/538/head
Slavi Pantaleev 5 anos atrás
pai
commit
65e5020596
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2

+ 1
- 1
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-synapse.conf.j2 Ver arquivo

@@ -150,7 +150,7 @@
} }
{% endif %} {% endif %}


location /_synapse/admin {
location /_synapse {
{% if matrix_nginx_proxy_enabled %} {% if matrix_nginx_proxy_enabled %}
{# Use the embedded DNS resolver in Docker containers to discover the service #} {# Use the embedded DNS resolver in Docker containers to discover the service #}
resolver 127.0.0.11 valid=5s; resolver 127.0.0.11 valid=5s;


Carregando…
Cancelar
Salvar