Add explicit nginx location for /services/ folder

This commit is contained in:
Roberth Rajala 2026-02-02 15:13:11 +01:00
parent e31dac4506
commit fe00115a71
1 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,13 @@ server {
add_header Cache-Control "no-cache, no-store, must-revalidate"; 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 # Deny access to hidden files
location ~ /\. { location ~ /\. {
deny all; deny all;