nginx-configs/sites-available/owncast.conf

29 lines
753 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name live.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion owncast.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion oc.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
server_name verncckvmp4lz2yrprjt22dsnjpfo7z3zefzxiz5gi2jvm3fusqq.b32.i2p;
include common/owncast.conf;
}
server {
# listen 80 ;
# listen [::]:80 ;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name live.vern.cc owncast.vern.cc oc.vern.cc;
include snippets/lets-encrypt.conf;
include snippets/headers.conf;
include common/owncast.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name live.vern.cc owncast.vern.cc oc.vern.cc;
}