nginx-configs/conf.d/librex.conf

34 lines
839 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name lx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion librex.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/librex.conf;
}
server {
listen 11039;
listen [::]:11039;
server_name vernziqfqvweijfaacmwazohgpdo2bt2ib2jlupt2pwwu27bhgxq.b32.i2p;
include common/librex.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name lx.vern.cc librex.vern.cc;
add_header Onion-Location http://lx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
include common/librex.conf;
include snippets/lets-encrypt.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name lx.vern.cc librex.vern.cc;
}