nginx-configs/conf.d/bbs.conf

55 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2022-10-25 08:30:45 +00:00
server {
listen 80;
listen [::]:80;
2022-10-28 01:34:38 +00:00
server_name vern5pgpfjdplnz7yhqazesx62hrx6r6i4xvv4kjshwefwikkjjuvwad.onion;
2022-10-25 08:30:45 +00:00
subs_filter_types text/html text/css text/xml application/javascript text/plain;
2022-12-02 13:53:21 +00:00
subs_filter "ftelnet.vern.cc" "ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
2022-10-25 08:30:45 +00:00
include common/bbs.conf;
}
server {
2022-10-26 06:47:22 +00:00
listen 11065;
listen [::]:11065;
2022-10-25 08:30:45 +00:00
2022-10-26 06:47:22 +00:00
server_name vernv5abwkzvlzneqto7x6vxw3bwdmd3emdnb4xuvwykwlghwaea.b32.i2p;
2022-10-25 08:30:45 +00:00
subs_filter_types text/html text/css text/xml application/javascript text/plain;
2022-12-02 13:53:21 +00:00
subs_filter "ftelnet.vern.cc" "vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p";
2022-10-25 08:30:45 +00:00
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;
}
2022-10-26 06:47:22 +00:00
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;
}
}