nginx-configs/conf.d/peertube.conf

29 lines
601 B
Plaintext

server {
listen 80;
listen [::]:80;
server_name pt.vern.cc;
location / { return 301 https://$host$request_uri; }
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name pt.vern.cc;
include snippets/lets-encrypt.conf;
include common/peertube.conf;
}
server {
listen 80;
listen [::]:80;
server_name pt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/peertube.conf;
}
server {
listen 11054;
listen [::]:11054;
server_name vernyvyqme7hnsfmfty7s7aawpndayyfbbydqlfewuuemzwh332q.b32.i2p;
include common/peertube.conf;
}