nginx-configs/conf.d/srht.conf

23 lines
499 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name *.sr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion sr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/srht.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name *.sr.vern.cc sr.vern.cc;
include snippets/lets-encrypt.conf;
include common/srht.conf;
}
server {
listen 80;
listen [::]:80;
server_name *.sr.vern.cc sr.vern.cc;
return 301 https://$host$request_uri;
}