opn
This commit is contained in:
1 parent
bc0b8d3cc3
commit
e2398a4379
5 files changed
+76
-9
No files matched your search
+6
-5
@@ -35,7 +35,8 @@ http {
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
|
||||
add_header Cache-Control "max-age=600" always;
|
||||
|
||||
if ($request_method !~ ^(GET|HEAD)$) {
|
||||
return 405;
|
||||
}
|
||||
@@ -73,10 +74,10 @@ http {
|
||||
index index.html;
|
||||
autoindex off;
|
||||
|
||||
#add_header X-Content-Type-Options "nosniff" always;
|
||||
#add_header X-Frame-Options "DENY" always;
|
||||
#add_header Referrer-Policy "no-referrer" always;
|
||||
#add_header Cache-Control "no-cache, no-store, must-revalidate" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-Frame-Options "DENY" always;
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
add_header Cache-Control "max-age=600" always;
|
||||
|
||||
if ($request_method !~ ^(GET|HEAD)$) {
|
||||
return 405;
|
||||
|
||||
Reference in new issue
Block a user