fix(reverse-proxy): 🐛🚑 mv add_header back to location

This commit is contained in:
Collin M. Barrett 2021-01-23 16:01:17 -06:00
parent 219a79a0de
commit e3152e6216
4 changed files with 5 additions and 6 deletions

View file

@ -0,0 +1,4 @@
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "no-referrer" always;

View file

@ -1,6 +1 @@
server_tokens off;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "no-referrer" always;
server_tokens off;