55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name vern5pgpfjdplnz7yhqazesx62hrx6r6i4xvv4kjshwefwikkjjuvwad.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 11065;
|
|
listen [::]:11065;
|
|
|
|
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";
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|