add proxitok and spyda
This commit is contained in:
parent
d65b029e3d
commit
21927d6d64
|
@ -0,0 +1,10 @@
|
||||||
|
add_header Onion-Location http://ld.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||||
|
add_header X-I2P-Location http://vernz3ubrntql4wrgyrssd6u3qzi36zrhz2agbo6vibzbs5olk2q.b32.i2p$request_uri;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:5950/;
|
||||||
|
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;
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
add_header Onion-Location http://sy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||||
|
add_header X-I2P-Location http://vernbzytqve2yzdud5pndkhwnkhqb2vfjtu7r42tj5savjrabsaq.b32.i2p$request_uri;
|
||||||
|
|
||||||
|
subs_filter "sy.vern.cc" "$host";
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://localhost:1984/;
|
||||||
|
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;
|
||||||
|
proxy_cookie_path / "/; Secure; HttpOnly; SameSite=lax";
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name tt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion proxitok.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion tiktok.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||||
|
|
||||||
|
include common/proxitok.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 11067;
|
||||||
|
listen [::]:11067;
|
||||||
|
|
||||||
|
server_name vern2gwxbtxzhb3rgchv4kbhlqppijhjqg7rmgvp4c5bxihxcm3a.b32.i2p;
|
||||||
|
|
||||||
|
include common/proxitok.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
server_name tt.vern.cc proxitok.vern.cc tiktok.vern.cc;
|
||||||
|
include snippets/lets-encrypt.conf;
|
||||||
|
include snippets/headers.conf;
|
||||||
|
include common/proxitok.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
server_name tt.vern.cc proxitok.vern.cc tiktok.vern.cc;
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name sy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion spyda.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||||
|
|
||||||
|
include common/spyda.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 11069;
|
||||||
|
listen [::]:11069;
|
||||||
|
|
||||||
|
server_name vernbzytqve2yzdud5pndkhwnkhqb2vfjtu7r42tj5savjrabsaq.b32.i2p;
|
||||||
|
|
||||||
|
include common/spyda.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
server_name spyda.vern.cc sy.vern.cc;
|
||||||
|
include common/spyda.conf;
|
||||||
|
include snippets/lets-encrypt.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
server_name sy.vern.cc spyda.vern.cc;
|
||||||
|
}
|
Loading…
Reference in New Issue