File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- ## Version 2024/08/22
1
+ ## Version 2025/01/09
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,6 +22,9 @@ 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
28
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
26
29
27
30
proxy_set_header Range $http_range;
@@ -34,6 +37,9 @@ server {
34
37
set $upstream_app jellyfin;
35
38
set $upstream_port 8096;
36
39
set $upstream_proto http;
40
+ if ($http_user_agent ~ Web0S) {
41
+ add_header X-Frame-Options "" always;
42
+ }
37
43
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
38
44
39
45
}
Original file line number Diff line number Diff line change 1
- ## Version 2023/02/05
1
+ ## Version 2025/01/09
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,6 +15,9 @@ 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
21
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
19
22
20
23
proxy_set_header Range $http_range;
You can’t perform that action at this time.
0 commit comments