Revert broken Jellyfin IPv6 back to IPv4

This commit is contained in:
Anthony Wang 2021-11-24 21:11:57 -06:00
parent 63f1786fd3
commit d7d9ed7d5d
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -1,12 +1,3 @@
server {
listen 80;
listen [::]:80;
server_name media.exozy.me;
# Uncomment to redirect HTTP to HTTPS
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
@ -15,8 +6,7 @@ server {
# use a variable to store the upstream proxy
# in this example we are using a hostname which is resolved via DNS
# (if you aren't using DNS remove the resolver line and change the variable to point to an IP address e.g `set $jellyfin localhost`)
set $jellyfin localhost;
resolver localhost valid=30;
set $jellyfin 127.0.0.1;
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;