1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-nginx-proxy/templates/nginx
Slavi Pantaleev e4dd933cf0 Make missing /_synapse/admin correctly return 404 responses
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1058

We may try to capture such calls and return a friendlier response (HTML
or JSON) saying "The Synapse Admin API is not enabled", but that may not
be desirable.

For now, we stick to what "upstream" recommends: "simply
don't proxy these APIs", which should lead to the same kind of 404 that
we have now.
See here: 6660912226/docs/reverse_proxy.md (synapse-administration-endpoints)
2021-05-17 11:45:35 +03:00
..
conf.d Make missing /_synapse/admin correctly return 404 responses 2021-05-17 11:45:35 +03:00
matrix-synapse-metrics-htpasswd.j2 Fix indentation in templates 2019-05-07 21:23:35 +02:00
nginx.conf.j2 Don't expose nginx version with each response 2021-04-18 16:24:13 +02:00