From 857af37f15dd8b4e114066492ea6d0ad0b3886eb Mon Sep 17 00:00:00 2001 From: Reinder Kraaij <kraaij@astron.nl> Date: Sat, 2 Mar 2024 00:04:48 +0100 Subject: [PATCH] set proper rewrite conditions --- SAS/TMSS/deploy/tmss/nginx/default.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/SAS/TMSS/deploy/tmss/nginx/default.conf b/SAS/TMSS/deploy/tmss/nginx/default.conf index 0be191b48b9..5da5e07c351 100644 --- a/SAS/TMSS/deploy/tmss/nginx/default.conf +++ b/SAS/TMSS/deploy/tmss/nginx/default.conf @@ -24,6 +24,7 @@ server { } location /acc/ { + rewrite ^/acc/(?!((static/)|(manifest\.json)|(favicon\.ico))).*$ /acc/index.html break; proxy_pass http://monitor.control.lofar:9000/tmss-frontend-web-acceptance/build/; proxy_set_header Host tmss.lofar.eu; proxy_set_header X-Real-IP $remote_addr; -- GitLab