Commented out Tor. Fixed formating. Removed unneeded scheme header.
This commit is contained in:
parent
314138641a
commit
cf63f471a8
@ -1,7 +1,8 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen 8090; # Tor
|
||||
# listen 8090; # Tor
|
||||
listen 127.0.0.1:8111; # I2P
|
||||
listen [300:a98d:d6d0:8a08::e]:80; # Yggdrasil
|
||||
|
||||
server_name radio.arav.top radio.arav.i2p mkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion;
|
||||
|
||||
@ -15,38 +16,31 @@ server {
|
||||
add_header X-Content-Type-Options "nosniff";
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
||||
add_header Onion-Location "http://mkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion$request_uri";
|
||||
# add_header Onion-Location "http://mkgnmhmzqm7kyzv7jnzzafvgm7xlmlfvzhgorpapd5or2arnhuktqd.onion$request_uri";
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://unix:/var/run/dwelling-radio/r.sock/;
|
||||
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_pass http://unix:/var/run/dwelling-radio/r.sock;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Client-Timezone $gi2_location_tz;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Scheme $scheme;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
|
||||
location =/filelist {
|
||||
alias $http_root/shared/radio_filelist.html;
|
||||
|
||||
alias $http_root/shared/radio_filelist.html;
|
||||
default_type text/html;
|
||||
}
|
||||
|
||||
location =/robots.txt {
|
||||
alias $http_root/shared/files/radio.robots.txt;
|
||||
|
||||
alias $http_root/shared/files/radio.robots.txt;
|
||||
default_type text/html;
|
||||
}
|
||||
|
||||
|
||||
location /live/ {
|
||||
proxy_pass http://127.0.0.1:8000/;
|
||||
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_pass http://127.0.0.1:8000/;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user