nginx-configs/conf.d/riot.conf

68 lines
1.4 KiB
Plaintext

server {
listen 80;
listen [::]:80;
server_name riot.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/riot.conf;
}
server {
listen 11015;
listen [::]:11015;
server_name vernltmkmwexhk77dlxmqlet3djveje7gcq7lwy3l5gkemxysy5q.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/riot.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name riot.vern.cc;
include snippets/lets-encrypt.conf;
include common/riot.conf;
}
server {
listen 80;
listen [::]:80;
server_name riot.vern.cc;
return 301 https://$host$request_uri;
}
server {
listen 80;
listen [::]:80;
server_name el.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/riot.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name el.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/riot.conf;
}
server {
listen 80;
listen [::]:80;
server_name el.vern.cc;
return 301 https://$host$request_uri;
}