mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-06-27 15:48:57 -04:00
🗃️ Committing everything that changed 🗃️
All checks were successful
release-tag / release-image (push) Successful in 5m49s
All checks were successful
release-tag / release-image (push) Successful in 5m49s
rootfs/tmp/etc/nginx/nginx.conf rootfs/tmp/etc/nginx/vhosts.d/template
This commit is contained in:
parent
9c1b8fe09e
commit
f99702050a
@ -2,8 +2,8 @@
|
||||
user REPLACE_SERVICE_USER;
|
||||
worker_processes auto;
|
||||
daemon off;
|
||||
error_log /data/logs/nginx/nginx.log warn;
|
||||
pid /run/nginx.pid;
|
||||
error_log /data/logs/nginx/nginx.log warn;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@ -15,10 +15,11 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
map $http_upgrade $connection_upgrade { default upgrade; '' close; }
|
||||
disable_symlinks off;
|
||||
root REPLACE_SERVER_WWW_DIR;
|
||||
server_names_hash_bucket_size 128;
|
||||
access_log /data/logs/nginx/access.REPLACE_SERVER_NAME.log;
|
||||
map $http_upgrade $connection_upgrade { default upgrade; '' close; }
|
||||
root REPLACE_SERVER_WWW_DIR;
|
||||
|
||||
server {
|
||||
listen REPLACE_SERVER_PORT default_server;
|
||||
@ -32,6 +33,8 @@ http {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' 'unsafe-eval' *; frame-src 'self' *; object-src 'self'" always;
|
||||
proxy_intercept_errors off;
|
||||
client_max_body_size 0;
|
||||
send_timeout 3600;
|
||||
|
||||
location ^~ /favicon.ico {
|
||||
alias REPLACE_SERVER_WWW_DIR/favicon.ico;
|
||||
|
@ -9,6 +9,8 @@ server {
|
||||
keepalive_timeout 75 75;
|
||||
access_log /data/logs/nginx/access.REPLACE_ONION_SITE.log;
|
||||
error_log /data/logs/nginx/error.REPLACE_ONION_SITE.log info;
|
||||
client_max_body_size 0;
|
||||
send_timeout 3600;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
|
Loading…
x
Reference in New Issue
Block a user