66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name pdapi.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion pdproxy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion pd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion piped.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
|
subs_filter pdapi.vern.cc pdapi.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
subs_filter pdproxy.vern.cc pdproxy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
include common/piped.conf;
|
|
}
|
|
# main
|
|
server {
|
|
listen 11090;
|
|
listen [::]:11090;
|
|
|
|
server_name vern2dwmqcksmq3oe5kynqc6gy4btviaimqhr55kg6zedjckwnoq.b32.i2p;
|
|
|
|
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
|
subs_filter pdapi.vern.cc vernhi23evjjydldj2pg7krqxnzxskma7i6n4ptberht3b5yzf2q.b32.i2p;
|
|
subs_filter pdproxy.vern.cc vern6dik55hnfhc6nsrmnws4d6qx2zqnq5xuequydr2ub7fx4jbq.b32.i2p;
|
|
|
|
include common/piped.conf;
|
|
}
|
|
# proxy
|
|
server {
|
|
listen 11091;
|
|
listen [::]:11091;
|
|
|
|
server_name vern6dik55hnfhc6nsrmnws4d6qx2zqnq5xuequydr2ub7fx4jbq.b32.i2p;
|
|
|
|
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
|
subs_filter pdapi.vern.cc vernhi23evjjydldj2pg7krqxnzxskma7i6n4ptberht3b5yzf2q.b32.i2p;
|
|
subs_filter pdproxy.vern.cc vern6dik55hnfhc6nsrmnws4d6qx2zqnq5xuequydr2ub7fx4jbq.b32.i2p;
|
|
|
|
include common/piped.conf;
|
|
}
|
|
# api
|
|
server {
|
|
listen 11092;
|
|
listen [::]:11092;
|
|
|
|
server_name vernhi23evjjydldj2pg7krqxnzxskma7i6n4ptberht3b5yzf2q.b32.i2p;
|
|
|
|
subs_filter_types text/html text/css text/xml application/javascript text/plain;
|
|
subs_filter pdapi.vern.cc vernhi23evjjydldj2pg7krqxnzxskma7i6n4ptberht3b5yzf2q.b32.i2p;
|
|
subs_filter pdproxy.vern.cc vern6dik55hnfhc6nsrmnws4d6qx2zqnq5xuequydr2ub7fx4jbq.b32.i2p;
|
|
|
|
include common/piped.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name pd.vern.cc pdapi.vern.cc pdproxy.vern.cc piped.vern.cc;
|
|
include snippets/lets-encrypt.conf;
|
|
include common/piped.conf;
|
|
}
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name pd.vern.cc pdapi.vern.cc pdproxy.vern.cc piped.vern.cc;
|
|
return 301 https://$host$request_uri;
|
|
}
|