mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-11-28 14:03:30 +01:00
Set security headers
Honestly I can't remember why we have Access-Control-Allow-Origin set, so hopefully removing it does not break anything.
This commit is contained in:
parent
4c621018c6
commit
f65af998cc
@ -3,7 +3,7 @@ add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header X-Content-Type-Options nosniff always;
|
||||
add_header Content-Security-Policy "default-src 'none'; script-src 'self' https://stats.privacytools.io; style-src 'self'; img-src 'self' data: https://*.privacytools.io; object-src 'none'; frame-src https://stats.privacytools.io; font-src 'self'; base-uri 'none'; form-action 'self' https://search.privacytools.io; frame-ancestors 'none'; manifest-src 'self';" always;
|
||||
add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload";
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header Alt-Svc 'h2="privacy2zbidut4m4jyj3ksdqidzkw3uoip2vhvhbvwxbqux5xy5obyd.onion:443"; ma=86400; persist=1';
|
||||
add_header Expect-CT 'max-age=86400, enforce';
|
||||
add_header Referrer-Policy "strict-origin";
|
||||
add_header Feature-Policy "geolocation none;midi none;notifications none;push none;sync-xhr none;microphone none;camera none;magnetometer none;gyroscope none;speaker self;vibrate none;fullscreen self;payment none;";
|
||||
|
Loading…
Reference in New Issue
Block a user