nginx-configs/conf.d/hckrnws.conf

33 lines
781 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name hn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion hckrnws.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion hackernews.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/hckrnws.conf;
}
server {
listen 11082;
listen [::]:11082;
server_name vern6p7g27bt6q5d73cxvhgu2gnn6f5sw3nmvqvremqdlvo3aydq.b32.i2p;
include common/hckrnws.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name hn.vern.cc hckrnws.vern.cc hackernews.vern.cc;
include snippets/lets-encrypt.conf;
include common/hckrnws.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name hn.vern.cc hckrnws.vern.cc hackernews.vern.cc;
}