File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1- ## Version 2025/01/09
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,9 +22,7 @@ server {
2222 set $upstream_app jellyfin;
2323 set $upstream_port 8096;
2424 set $upstream_proto http;
25- if ($http_user_agent ~ Web0S) {
26- add_header X-Frame-Options "" always;
27- }
25+ add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
2826 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
2927
3028 proxy_set_header Range $http_range;
@@ -37,9 +35,7 @@ server {
3735 set $upstream_app jellyfin;
3836 set $upstream_port 8096;
3937 set $upstream_proto http;
40- if ($http_user_agent ~ Web0S) {
41- add_header X-Frame-Options "" always;
42- }
38+ add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
4339 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4440
4541 }
Original file line number Diff line number Diff line change 1- ## Version 2025/01/09
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,9 +15,7 @@ location ^~ /jellyfin/ {
1515 set $upstream_app jellyfin;
1616 set $upstream_port 8096;
1717 set $upstream_proto http;
18- if ($http_user_agent ~ Web0S) {
19- add_header X-Frame-Options "" always;
20- }
18+ add_header Access-Control-Allow-Origin "luna://com.webos.service.config" always;
2119 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
2220
2321 proxy_set_header Range $http_range;
You can’t perform that action at this time.
0 commit comments