server/referrer
This commit is contained in:
parent
4c16f30094
commit
0e0fa500c4
1 changed files with 1 additions and 1 deletions
|
@ -406,12 +406,12 @@ Security
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
add_header Expect-CT "enforce,max-age=0" always;
|
add_header Expect-CT "enforce,max-age=0" always;
|
||||||
|
add_header Referrer-Policy "no-referrer-when-downgrade" always;
|
||||||
add_header Strict-Transport-Security "max-age=31557600;includeSubDomains;preload" always;
|
add_header Strict-Transport-Security "max-age=31557600;includeSubDomains;preload" always;
|
||||||
add_header X-Content-Type-Options "nosniff" always;
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
add_header X-Frame-Options "DENY" always;
|
add_header X-Frame-Options "DENY" always;
|
||||||
|
|
||||||
add_header Content-Security-Policy "default-src 'self'" always;
|
add_header Content-Security-Policy "default-src 'self'" always;
|
||||||
add_header Referrer-Policy "no-referrer-when-downgrade" always;
|
|
||||||
set $fp "";
|
set $fp "";
|
||||||
set $fp "${fp} camera 'none';";
|
set $fp "${fp} camera 'none';";
|
||||||
set $fp "${fp} microphone 'none';";
|
set $fp "${fp} microphone 'none';";
|
||||||
|
|
Loading…
Reference in a new issue