I forgot about the X-Frame-Options headerw
This commit is contained in:
parent
19c2dda32b
commit
ada0553ae2
1 changed files with 7 additions and 3 deletions
|
@ -2,12 +2,16 @@ server {
|
||||||
access_log /var/log/nginx/lol.zzls.xyz.access.log;
|
access_log /var/log/nginx/lol.zzls.xyz.access.log;
|
||||||
server_name lol.nadeko.net;
|
server_name lol.nadeko.net;
|
||||||
include configs/general.conf;
|
include configs/general.conf;
|
||||||
include configs/security.conf;
|
|
||||||
include configs/robotsNone.conf;
|
include configs/robotsNone.conf;
|
||||||
|
|
||||||
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
|
add_header Referrer-Policy "same-origin" always;
|
||||||
|
add_header Permissions-Policy "interest-cohort=()" always;
|
||||||
|
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:40010;
|
proxy_pass http://127.0.0.1:40010;
|
||||||
include configs/proxy.conf;
|
include configs/proxy.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# QUIC
|
# QUIC
|
||||||
|
|
Loading…
Add table
Reference in a new issue