Update jellyfin.subfolder.conf.sample

This commit is contained in:
aptalca 2019-06-21 13:07:49 -04:00 committed by Ryan Kuba
parent 3c1688df85
commit 2c73d5695d

View file

@ -11,18 +11,11 @@ location ^~ /jellyfin/ {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_jellyfin jellyfin;
rewrite /jellyfin(.*) $1 break;
proxy_pass http://$upstream_jellyfin:8096;
proxy_set_header Range $http_range;
proxy_set_header If-Range $http_if_range;
}
location ^~ /jellyfinwebsocket {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_jellyfin jellyfin;
proxy_pass http://$upstream_jellyfin:8096;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}