File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 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
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,9 @@ 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+ }
2528 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
2629
2730 proxy_set_header Range $http_range;
@@ -34,6 +37,9 @@ server {
3437 set $upstream_app jellyfin;
3538 set $upstream_port 8096;
3639 set $upstream_proto http;
40+ if ($http_user_agent ~ Web0S) {
41+ add_header X-Frame-Options "" always;
42+ }
3743 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3844
3945 }
Original file line number Diff line number Diff line change 1- ## Version 2023/02/05
1+ ## Version 2025/01/09
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,9 @@ 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+ }
1821 proxy_pass $upstream_proto://$upstream_app:$upstream_port;
1922
2023 proxy_set_header Range $http_range;
You can’t perform that action at this time.
0 commit comments