Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions jellyfin.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2025/01/11
## Version 2025/05/18
# make sure that your jellyfin container is named 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
Expand All @@ -22,7 +22,9 @@ server {
set $upstream_app jellyfin;
set $upstream_port 8096;
set $upstream_proto http;
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
if ($http_user_agent ~ Web0S) {
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
}
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

proxy_set_header Range $http_range;
Expand All @@ -35,7 +37,9 @@ server {
set $upstream_app jellyfin;
set $upstream_port 8096;
set $upstream_proto http;
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
if ($http_user_agent ~ Web0S) {
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
}
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
Expand Down
6 changes: 4 additions & 2 deletions jellyfin.subfolder.conf.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2025/01/11
## Version 2025/05/18
# 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 not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
Expand All @@ -15,7 +15,9 @@ location ^~ /jellyfin/ {
set $upstream_app jellyfin;
set $upstream_port 8096;
set $upstream_proto http;
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
if ($http_user_agent ~ Web0S) {
add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
}
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

proxy_set_header Range $http_range;
Expand Down