small nginx change

master
Aevann1 2022-10-30 02:59:33 +02:00
parent 2dc88da8dd
commit c6c4a834e7
1 changed files with 2 additions and 1 deletions

View File

@ -5,8 +5,9 @@ server {
listen [::]:80;
proxy_set_header Host $http_host;
add_header Referrer-Policy "same-origin";
add_header Strict-Transport-Security "max-age=3153600";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
add_header X-Frame-Options "deny";
add_header X-Content-Type-Options "nosniff";
location / {
proxy_pass http://localhost:5000/;