From fe00115a712c2b3bf4999fb7afae8cf102b50712 Mon Sep 17 00:00:00 2001 From: ImpulsiveFPS Date: Mon, 2 Feb 2026 15:13:11 +0100 Subject: [PATCH] Add explicit nginx location for /services/ folder --- nginx.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx.conf b/nginx.conf index ec22828..22f12e9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -37,6 +37,13 @@ server { add_header Cache-Control "no-cache, no-store, must-revalidate"; } + # Services folder - explicit location for dummy login pages + location /services/ { + alias /usr/share/nginx/html/services/; + try_files $uri $uri/ =404; + add_header Cache-Control "no-cache, no-store, must-revalidate"; + } + # Deny access to hidden files location ~ /\. { deny all;