File tree 2 files changed +5
-11
lines changed
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
2
2
# make sure that your jellyfin container is named jellyfin
3
3
# make sure that your dns has a cname set for jellyfin
4
4
# 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 {
22
22
set $upstream_app jellyfin;
23
23
set $upstream_port 8096;
24
24
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;
28
26
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
29
27
30
28
proxy_set_header Range $http_range;
@@ -37,9 +35,7 @@ server {
37
35
set $upstream_app jellyfin;
38
36
set $upstream_port 8096;
39
37
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;
43
39
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
44
40
45
41
}
Original file line number Diff line number Diff line change 1
- ## Version 2025/01/09
1
+ ## Version 2025/01/11
2
2
# make sure that your jellyfin container is named jellyfin
3
3
# if jellyfin is running in bridge mode and the container is named "jellyfin", the below config should work as is
4
4
# if not, replace the line "set $upstream_app jellyfin;" with "set $upstream_app <containername>;"
@@ -15,9 +15,7 @@ location ^~ /jellyfin/ {
15
15
set $upstream_app jellyfin;
16
16
set $upstream_port 8096;
17
17
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;
21
19
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
22
20
23
21
proxy_set_header Range $http_range;
You can’t perform that action at this time.
0 commit comments