correct nginx config

This commit is contained in:
vincent 2020-09-13 18:54:24 +02:00
parent 2340fcc1d5
commit 3e8c20fadd
2 changed files with 2 additions and 8 deletions

View File

@ -35,10 +35,7 @@ nginx_vhosts:
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
fastcgi_hide_header X-Powered-By;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
root /usr/share/nginx/html;
location = /robots.txt {

View File

@ -40,10 +40,7 @@ nginx_vhosts:
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
fastcgi_hide_header X-Powered-By;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
root /usr/share/nginx/html;
location = /robots.txt {