Skip to content

Commit 5aaa248

Browse files
authored
Merge pull request #731 from Noneangel/master
Fix Jellyfin for LG webOS
2 parents 8625ed9 + 6f71557 commit 5aaa248

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

jellyfin.subdomain.conf.sample

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2024/08/22
1+
## Version 2025/01/11
22
# make sure that your jellyfin container is named jellyfin
33
# make sure that your dns has a cname set for jellyfin
44
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
@@ -22,6 +22,7 @@ server {
2222
set $upstream_app jellyfin;
2323
set $upstream_port 8096;
2424
set $upstream_proto http;
25+
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
2526
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
2627

2728
proxy_set_header Range $http_range;
@@ -34,6 +35,7 @@ server {
3435
set $upstream_app jellyfin;
3536
set $upstream_port 8096;
3637
set $upstream_proto http;
38+
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
3739
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3840

3941
}

jellyfin.subfolder.conf.sample

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/02/05
1+
## Version 2025/01/11
22
# make sure that your jellyfin container is named jellyfin
33
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
44
# if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
@@ -15,6 +15,7 @@ location ^~ /jellyfin/ {
1515
set $upstream_app jellyfin;
1616
set $upstream_port 8096;
1717
set $upstream_proto http;
18+
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
1819
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
1920

2021
proxy_set_header Range $http_range;

0 commit comments

Comments
 (0)