mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-05 20:41:32 -07:00
Fix Jellyfin for WebOS
This commit is contained in:
parent
8625ed9dbd
commit
dd15bfcb85
2 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
## Version 2024/08/22
|
## Version 2025/01/09
|
||||||
# make sure that your jellyfin container is named jellyfin
|
# make sure that your jellyfin container is named jellyfin
|
||||||
# make sure that your dns has a cname set for jellyfin
|
# make sure that your dns has a cname set for jellyfin
|
||||||
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
|
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
|
||||||
|
@ -22,6 +22,9 @@ server {
|
||||||
set $upstream_app jellyfin;
|
set $upstream_app jellyfin;
|
||||||
set $upstream_port 8096;
|
set $upstream_port 8096;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
|
if ($http_user_agent ~ Web0S) {
|
||||||
|
add_header X-Frame-Options "" always;
|
||||||
|
}
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
proxy_set_header Range $http_range;
|
proxy_set_header Range $http_range;
|
||||||
|
@ -34,6 +37,9 @@ server {
|
||||||
set $upstream_app jellyfin;
|
set $upstream_app jellyfin;
|
||||||
set $upstream_port 8096;
|
set $upstream_port 8096;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
|
if ($http_user_agent ~ Web0S) {
|
||||||
|
add_header X-Frame-Options "" always;
|
||||||
|
}
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
## Version 2023/02/05
|
## Version 2025/01/09
|
||||||
# make sure that your jellyfin container is named jellyfin
|
# make sure that your jellyfin container is named jellyfin
|
||||||
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
|
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
|
||||||
# if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
|
# if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
|
||||||
|
@ -15,6 +15,9 @@ location ^~ /jellyfin/ {
|
||||||
set $upstream_app jellyfin;
|
set $upstream_app jellyfin;
|
||||||
set $upstream_port 8096;
|
set $upstream_port 8096;
|
||||||
set $upstream_proto http;
|
set $upstream_proto http;
|
||||||
|
if ($http_user_agent ~ Web0S) {
|
||||||
|
add_header X-Frame-Options "" always;
|
||||||
|
}
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
proxy_set_header Range $http_range;
|
proxy_set_header Range $http_range;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue