simplelogin onion

This commit is contained in:
root 2022-10-29 11:40:35 -04:00
parent 942922a08b
commit 391b2a50ea
2 changed files with 25 additions and 0 deletions

12
common/simplelogin.conf Normal file
View File

@ -0,0 +1,12 @@
add_header Onion-Location http://sl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://verndokks33kdmyo23qihg45lb4sinl6f6b34hc7be6754p3b4aa.b32.i2p$request_uri;
access_log off;
error_log /var/log/nginx/error.log crit;
location / {
proxy_pass http://iceberg.vern.cc:7777;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host; # so Invidious knows domain
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
}

13
conf.d/simplelogin.conf Normal file
View File

@ -0,0 +1,13 @@
server {
listen 80;
listen [::]:80;
server_name simplelogin.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion sl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/simplelogin.conf;
}
server {
listen 11070;
listen [::]:11070;
server_name verndokks33kdmyo23qihg45lb4sinl6f6b34hc7be6754p3b4aa.b32.i2p;
include common/simplelogin.conf;
}