~xenrox/ansible

01f19ba877d37a2184a052762d4f1af13b678836 — Thorben Günther 1 year, 9 months ago f5c9ce7
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;