|
@@ -13,7 +13,7 @@ server {
|
|
|
|
|
|
add_header Content-Security-Policy "object-src 'none';frame-ancestors 'none';base-uri 'none';form-action 'self'" always;
|
|
add_header Content-Security-Policy "object-src 'none';frame-ancestors 'none';base-uri 'none';form-action 'self'" always;
|
|
add_header Feature-Policy "accelerometer 'none';ambient-light-sensor 'none';autoplay 'none';battery 'none';camera 'none';document-domain 'self';fullscreen 'self';geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none';sync-xhr 'self';usb 'none'" always;
|
|
add_header Feature-Policy "accelerometer 'none';ambient-light-sensor 'none';autoplay 'none';battery 'none';camera 'none';document-domain 'self';fullscreen 'self';geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none';sync-xhr 'self';usb 'none'" always;
|
|
- add_header Referrer-Policy "origin-when-cross-origin" always;
|
|
|
|
|
|
+ add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
|
# add_header Strict-Transport-Security "max-age=31536000" always; # for https only
|
|
# add_header Strict-Transport-Security "max-age=31536000" always; # for https only
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
# add_header X-Frame-Options "DENY" always; # fluxbb set this header, in nginx it is difficult to combine headers from two sources
|
|
# add_header X-Frame-Options "DENY" always; # fluxbb set this header, in nginx it is difficult to combine headers from two sources
|