nginx-configs/conf.d/bbs.conf

39 lines
923 B
Plaintext

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;
}