hackliberty-conf/swag/nginx/include.d/homepage.conf
2023-05-26 18:25:19 +00:00

9 lines
665 B
Plaintext

location / {
root /config/www/hackliberty.org;
include /config/nginx/gzip.conf;
include /config/nginx/security-headers.conf;
# Add Onion-Location Header
add_header Onion-Location http://kj3wvs3wyfhm3uhhuqxlrhhcp6dneuau4mmvptlor27ghmrqx63fqnid.onion$request_uri;
add_header Content-Security-Policy "default-src 'none'; frame-src https://trocador.app/; connect-src 'self'; font-src 'self'; img-src 'self'; manifest-src 'self'; script-src 'self'; style-src 'self'; form-action 'none'; frame-ancestors 'none'; block-all-mixed-content; base-uri 'none'; require-trusted-types-for 'script'; trusted-types 'none'";
}