nginx-configs/conf.d/cinny.conf

68 lines
1.5 KiB
Plaintext

server {
listen 80;
listen [::]:80;
server_name cn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion cinny.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/cinny.conf;
}
server {
listen 11030;
listen [::]:11030;
server_name vernyaourawd4avjf7ye6g43pqovys5wqdr672kervjpev353klq.b32.i2p;
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter 'https://matrix.to' 'http://mto.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion';
include common/cinny.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cn.vern.cc cinny.vern.cc;
include snippets/lets-encrypt.conf;
include common/cinny.conf;
}
server {
listen 80;
listen [::]:80;
server_name cn.vern.cc cinny.vern.cc;
return 301 https://$host$request_uri;
}
server {
listen 80;
listen [::]:80;
server_name cnmto.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter 'https://matrix.to' 'http://mto.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion';
include common/cinny.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cnmto.vern.cc;
include snippets/lets-encrypt.conf;
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter 'matrix.to' 'mto.vern.cc';
include common/cinny.conf;
}
server {
listen 80;
listen [::]:80;
server_name cnmto.vern.cc;
return 301 https://$host$request_uri;
}