mirror of
https://github.com/c0mmando/hackliberty-conf.git
synced 2024-10-01 05:05:41 -04:00
update simplex conf and add tor hidden service
This commit is contained in:
parent
bdd7a5cbd9
commit
6cb52f1302
@ -11,6 +11,18 @@ server {
|
||||
include /config/nginx/resolver.conf;
|
||||
include /config/nginx/security-headers.conf;
|
||||
add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; font-src * https: data:; img-src * https: data:; manifest-src * https: data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; block-all-mixed-content; base-uri 'none'";
|
||||
add_header Onion-Location http://gstc5w42xawazcr4txrcyhitmkhiyu2vkkwy2xhwovbhlapzrccjeyad.onion$request_uri;
|
||||
root /config/www/simplex.hackliberty.org;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 9988;
|
||||
server_name gstc5w42xawazcr4txrcyhitmkhiyu2vkkwy2xhwovbhlapzrccjeyad.onion;
|
||||
location ~ ^/.*$ {
|
||||
root /config/www/simplex.hackliberty.org;
|
||||
include /config/nginx/gzip.conf;
|
||||
include /config/nginx/security-headers.conf;
|
||||
add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; font-src * https: data:; img-src * https: data:; manifest-src * https: data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; block-all-mixed-content; base-uri 'none'";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user