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;