33 lines
663 B
Plaintext
33 lines
663 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name gh.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion gothub.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
include common/gothub.conf;
|
|
}
|
|
|
|
server {
|
|
listen 11087;
|
|
listen [::]:11087;
|
|
|
|
server_name vernohu6dvnvssx5rnyckb2vulvczx2z5lneiz6xa5rw262zru2q.b32.i2p;
|
|
|
|
include common/gothub.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name gh.vern.cc gothub.vern.cc;
|
|
include common/gothub.conf;
|
|
include snippets/lets-encrypt.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
return 301 https://$host$request_uri;
|
|
server_name gh.vern.cc gothub.vern.cc;
|
|
}
|