nginx-configs/sites-available/simplytranslate.conf

26 lines
771 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name translate.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion tl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion simplytranslate.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
server_name vernccxplwvg6luzppkd7xbt45q4lnmcdjhdqkpwa2b5hu2mz5ya.b32.i2p;
include common/simplytranslate.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
include snippets/lets-encrypt.conf;
include snippets/headers.conf;
server_name translate.vern.cc tl.vern.cc simplytranslate.vern.cc;
include common/simplytranslate.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name translate.vern.cc tl.vern.cc simplytranslate.vern.cc;
}