Add BBS, Hat.SH and Rssbridge
This commit is contained in:
parent
8bc9938b75
commit
7c7cb88b0b
|
@ -0,0 +1,12 @@
|
|||
add_header Onion-Location http://bbs.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://vern6wnypbds4y6zdht5j4ruufbtb4zlcm3baez5w72wjtgiw6ea.b32.i2p$request_uri;
|
||||
access_log off;
|
||||
error_log /var/log/nginx/error.log crit;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.223/;
|
||||
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
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
add_header Onion-Location http://ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p$request_uri;
|
||||
root /var/www/ftelnet/release;
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
add_header Onion-Location http://hat.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://verndu4wjpud2cs7yoqfbcoorqn2nwajuxi2qdoas2vg4zdddf5a.b32.i2p$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:3991/;
|
||||
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_cache mycache;
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
add_header Onion-Location http://rb.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://vern4nm37gbhaly4gkoxw4njqoyd5bmkgzjbumtpccmqxlilud3q.b32.i2p$request_uri;
|
||||
|
||||
root /var/www/rssbridge;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include /etc/nginx/snippets/fastcgi.conf;
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name bbs.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
||||
subs_filter "ftelnet.vern.cc" "ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
|
||||
|
||||
include common/bbs.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11060;
|
||||
listen [::]:11060;
|
||||
|
||||
server_name vern6wnypbds4y6zdht5j4ruufbtb4zlcm3baez5w72wjtgiw6ea.b32.i2p;
|
||||
|
||||
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
||||
subs_filter "ftelnet.vern.cc" "vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p";
|
||||
|
||||
include common/bbs.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name bbs.vern.cc;
|
||||
include common/bbs.conf;
|
||||
include snippets/lets-encrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name bbs.vern.cc;
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/ftelnet.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11060;
|
||||
listen [::]:11060;
|
||||
|
||||
server_name vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p;
|
||||
|
||||
include common/ftelnet.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include snippets/headers.conf;
|
||||
server_name ftelnet.vern.cc;
|
||||
|
||||
include common/ftelnet.conf;
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name hat.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/hat.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11061;
|
||||
listen [::]:11061;
|
||||
|
||||
server_name verndu4wjpud2cs7yoqfbcoorqn2nwajuxi2qdoas2vg4zdddf5a.b32.i2p;
|
||||
|
||||
include common/hat.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name hat.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include common/hat.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name hat.vern.cc;
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name rb.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion rssbridge.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/rssbridge.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11062;
|
||||
listen [::]:11062;
|
||||
|
||||
server_name vern4nm37gbhaly4gkoxw4njqoyd5bmkgzjbumtpccmqxlilud3q.b32.i2p;
|
||||
|
||||
include common/rssbridge.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name rb.vern.cc rssbridge.vern.cc;
|
||||
include snippets/lets-encrypt.conf;
|
||||
include common/rssbridge.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name rb.vern.cc rssbridge.vern.cc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue