add biblioreads,dumb,hckrnws,srht

This commit is contained in:
root 2022-11-19 15:17:31 +00:00
parent 76ec60c832
commit cac8dbb95b
8 changed files with 155 additions and 0 deletions

10
common/biblioreads.conf Normal file
View File

@ -0,0 +1,10 @@
add_header Onion-Location http://bl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernapl3lpo3huqdx3pjzxqgdgavxjlmdskbvejh2gfqgmjuyvxq.b32.i2p$request_uri;
location / {
proxy_pass http://10.0.3.57:3000/;
proxy_redirect off;
proxy_set_header Host $host;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

10
common/dumb.conf Normal file
View File

@ -0,0 +1,10 @@
add_header Onion-Location http://dm.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernxpcpqi2y4uhu7to4rnjmyjjgzh3x3qxyzpmkhykefchkmleq.b32.i2p$request_uri;
location / {
proxy_pass http://crescent.vern.cc:5555/;
proxy_redirect off;
proxy_set_header Host $host;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

10
common/hckrnws.conf Normal file
View File

@ -0,0 +1,10 @@
add_header Onion-Location http://hn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern6p7g27bt6q5d73cxvhgu2gnn6f5sw3nmvqvremqdlvo3aydq.b32.i2p$request_uri;
location / {
proxy_pass http://10.0.3.57:3002/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

7
common/srht.conf Normal file
View File

@ -0,0 +1,7 @@
location / {
proxy_pass http://10.0.3.135:80/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

32
conf.d/biblioreads.conf Normal file
View File

@ -0,0 +1,32 @@
server {
listen 80;
listen [::]:80;
server_name bl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion biblioreads.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion goodreads.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/biblioreads.conf;
}
server {
listen 11081;
listen [::]:11081;
server_name vernapl3lpo3huqdx3pjzxqgdgavxjlmdskbvejh2gfqgmjuyvxq.b32.i2p;
include common/biblioreads.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name bl.vern.cc biblioreads.vern.cc goodreads.vern.cc;
include snippets/lets-encrypt.conf;
include common/biblioreads.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name bl.vern.cc biblioreads.vern.cc goodreads.vern.cc;
}

32
conf.d/dumb.conf Normal file
View File

@ -0,0 +1,32 @@
server {
listen 80;
listen [::]:80;
server_name dm.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion dumb.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion genius.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/dumb.conf;
}
server {
listen 11080;
listen [::]:11080;
server_name vernxpcpqi2y4uhu7to4rnjmyjjgzh3x3qxyzpmkhykefchkmleq.b32.i2p;
include common/dumb.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name dm.vern.cc dumb.vern.cc genius.vern.cc;
include snippets/lets-encrypt.conf;
include common/dumb.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name dm.vern.cc dumb.vern.cc genius.vern.cc;
}

32
conf.d/hckrnws.conf Normal file
View File

@ -0,0 +1,32 @@
server {
listen 80;
listen [::]:80;
server_name hn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion hckrnws.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion hackernews.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/hckrnws.conf;
}
server {
listen 11082;
listen [::]:11082;
server_name vern6p7g27bt6q5d73cxvhgu2gnn6f5sw3nmvqvremqdlvo3aydq.b32.i2p;
include common/hckrnws.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name hn.vern.cc hckrnws.vern.cc hackernews.vern.cc;
include snippets/lets-encrypt.conf;
include common/hckrnws.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name hn.vern.cc hckrnws.vern.cc hackernews.vern.cc;
}

22
conf.d/srht.conf Normal file
View File

@ -0,0 +1,22 @@
server {
listen 80;
listen [::]:80;
server_name *.sr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion sr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/srht.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name *.sr.vern.cc sr.vern.cc;
include snippets/lets-encrypt.conf;
include common/srht.conf;
}
server {
listen 80;
listen [::]:80;
server_name *.sr.vern.cc sr.vern.cc;
return 301 https://$host$request_uri;
}