Skip to content

Commit

Permalink
Fix matrix.DOMAIN/_synapse/metrics exposing
Browse files Browse the repository at this point in the history
This is something that got lost during
#456
and more specifically 4d62a75.

Fixes #914
  • Loading branch information
spantaleev committed Mar 2, 2021
1 parent a25b813 commit 009efda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/matrix-nginx-proxy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_prefix_regexes: |
(['/_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 [])
}}
# Specifies where requests for the root URI (`/`) on the `matrix.` domain should be redirected.
Expand Down

0 comments on commit 009efda

Please sign in to comment.