mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -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;
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue