From 29e91716d05fdc9e02b3d75f55c017aa49ccef3f Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 4 Nov 2021 11:36:49 +0100 Subject: [PATCH] Exclude some URLs from authz. --- templates/nginx.default.conf.j2 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/nginx.default.conf.j2 b/templates/nginx.default.conf.j2 index 397c907..00974f5 100644 --- a/templates/nginx.default.conf.j2 +++ b/templates/nginx.default.conf.j2 @@ -23,6 +23,18 @@ server { proxy_set_header Connection $connection_upgrade; {% endif %} + location /wicket/resource/ { + proxy_pass http://_inception-server; + } + + location /favicon.ico { + proxy_pass http://_inception-server; + } + + location /spinner.gif { + proxy_pass http://_inception-server; + } + location / { js_content pep.enforce; } @@ -89,5 +101,4 @@ server { proxy_pass "{{ keycloak_auth_server }}/auth/realms/d4science/protocol/openid-connect/token"; gunzip on; } - }