65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name h2.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion hydrogen.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
include common/hydrogen.conf;
|
|
}
|
|
|
|
server {
|
|
listen 11031;
|
|
listen [::]:11031;
|
|
|
|
server_name vernbzrr62wtwvddjcpo5stg7mp6mvoi7y2hkdekvextwb66mj5q.b32.i2p;
|
|
|
|
include common/hydrogen.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name h2.vern.cc hydrogen.vern.cc;
|
|
include snippets/lets-encrypt.conf;
|
|
include common/hydrogen.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name h2.vern.cc hydrogen.vern.cc;
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name h2m2.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/hydrogen.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name h2m2.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/hydrogen.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name h2m2.vern.cc;
|
|
return 301 https://$host$request_uri;
|
|
}
|