1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-17 17:02:40 +00:00

Move privacytools.io files to privacytools.io directory

This commit is contained in:
2020-12-03 22:27:02 -06:00
parent 9dc1727097
commit 269fe69aa1
609 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,2 @@
include /var/www/privacytools.io/nginx/010-headers.conf;
include /var/www/privacytools.io/nginx/020-redirects.conf;

View File

@ -0,0 +1,11 @@
add_header X-Frame-Options DENY always;
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'; style-src 'self'; img-src 'self' data: https://*.privacytools.io; object-src 'none'; frame-src 'none'; font-src 'self'; base-uri 'none'; form-action 'self' https://search.privacytools.io; frame-ancestors 'none'; manifest-src 'self';" always;
add_header 'Access-Control-Allow-Origin' '*';
add_header Strict-Transport-Security "max-age=31557600; includeSubDomains; preload";
add_header Alt-Svc 'h2="privacy2zbidut4m4jyj3ksdqidzkw3uoip2vhvhbvwxbqux5xy5obyd.onion:443"; ma=86400; persist=1';
add_header Onion-Location http://www.privacy2zbidut4m4jyj3ksdqidzkw3uoip2vhvhbvwxbqux5xy5obyd.onion$request_uri always;
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;";

View File

@ -0,0 +1,21 @@
location = /old/ {
return 301 /classic/;
}
location = /privacy-policy/ {
return 301 /privacy/;
}
location = /contact/ {
return 301 /about/;
}
location = /webrtc.html {
return 301 /browsers/;
}
location = /software/im/ {
return 301 /software/real-time-communication/;
}
location = /software/voip/ {
return 301 /software/real-time-communication/;
}
location = /software/teamchat/ {
return 301 /software/real-time-communication/;
}