matrix: Regulate admin API access with internal_access
1 files changed, 1 insertions(+), 2 deletions(-) M roles/matrix/templates/matrix.conf.j2
M roles/matrix/templates/matrix.conf.j2 => roles/matrix/templates/matrix.conf.j2 +1 -2
@@ 17,8 17,7 @@ server { } location ~ ^(/_synapse/admin) { - allow {{ wireguard_vpn_subnet }}; - deny all; + include /etc/nginx/snippets/internal_access.conf; proxy_pass http://127.0.0.1:8008; proxy_set_header X-Forwarded-For $remote_addr;