nginx-configs/conf.d/etherpad.conf

32 lines
674 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name ep.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion etherpad.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/etherpad.conf;
}
server {
listen 11078;
listen [::]:11078;
server_name vernbm2ykmrqpkhpygk3skotirppddevw3xpkzyyxbcsfqchb27q.b32.i2p;
include common/etherpad.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ep.vern.cc etherpad.vern.cc;
include snippets/lets-encrypt.conf;
include common/etherpad.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name ep.vern.cc etherpad.vern.cc;
}