bbs stuff
This commit is contained in:
parent
1e41e1be13
commit
d65b029e3d
|
@ -1,7 +1,7 @@
|
|||
add_header Onion-Location http://pad.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass https://pad.vern.cc/;
|
||||
proxy_pass http://localhost/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host pad.vern.cc;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
add_header Onion-Location http://ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p$request_uri;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
root /var/www/ftelnet/release;
|
||||
|
||||
location / {
|
||||
|
|
|
@ -164,3 +164,30 @@ server {
|
|||
return 301 http://vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion/blog$request_uri;
|
||||
add_header Onion-Location http://blog.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
server_name myip.vern.cc;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
include snippets/lets-encrypt.conf;
|
||||
return 200 127.0.0.1;
|
||||
}
|
||||
server {
|
||||
server_name myip.vern.cc;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 200 127.0.0.1;
|
||||
}
|
||||
server {
|
||||
server_name myip.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 200 127.0.0.1;
|
||||
}
|
||||
server {
|
||||
server_name vernamluei326jvvjdrdcsi5hcbgiig7anytm3xe3c6lj5jvgmba.b32.i2p;
|
||||
listen 11064;
|
||||
listen [::]:11064;
|
||||
return 200 127.0.0.1;
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 11060;
|
||||
listen [::]:11060;
|
||||
listen 11065;
|
||||
listen [::]:11065;
|
||||
|
||||
server_name vern6wnypbds4y6zdht5j4ruufbtb4zlcm3baez5w72wjtgiw6ea.b32.i2p;
|
||||
server_name vernv5abwkzvlzneqto7x6vxw3bwdmd3emdnb4xuvwykwlghwaea.b32.i2p;
|
||||
|
||||
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
||||
subs_filter "ftelnet.vern.cc" "vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p";
|
||||
|
@ -36,3 +36,19 @@ server {
|
|||
return 301 https://$host$request_uri;
|
||||
server_name bbs.vern.cc;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11235 ssl http2;
|
||||
listen [::]:11235 ssl http2;
|
||||
|
||||
server_name bbs.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.223:1123;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,9 @@ server {
|
|||
|
||||
server_name ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
||||
subs_filter "myip.vern.cc" "myip.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
|
||||
|
||||
include common/ftelnet.conf;
|
||||
}
|
||||
|
||||
|
@ -13,6 +16,9 @@ server {
|
|||
|
||||
server_name vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p;
|
||||
|
||||
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
||||
subs_filter "myip.vern.cc" "vernamluei326jvvjdrdcsi5hcbgiig7anytm3xe3c6lj5jvgmba.b32.i2p";
|
||||
|
||||
include common/ftelnet.conf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue