Add explicit nginx location for /services/ folder
This commit is contained in:
parent
e31dac4506
commit
fe00115a71
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue