mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-07 05:21:31 -07:00
Update jellyfin.subfolder.conf.sample
This commit is contained in:
parent
3c1688df85
commit
2c73d5695d
1 changed files with 1 additions and 8 deletions
|
@ -11,18 +11,11 @@ location ^~ /jellyfin/ {
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_jellyfin jellyfin;
|
set $upstream_jellyfin jellyfin;
|
||||||
|
rewrite /jellyfin(.*) $1 break;
|
||||||
proxy_pass http://$upstream_jellyfin:8096;
|
proxy_pass http://$upstream_jellyfin:8096;
|
||||||
|
|
||||||
proxy_set_header Range $http_range;
|
proxy_set_header Range $http_range;
|
||||||
proxy_set_header If-Range $http_if_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 Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_set_header Connection $http_connection;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue