diff --git a/conf/nginx.conf b/conf/nginx.conf index b983196..55793b8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,6 +11,12 @@ location __PATH__/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; + # Disable a specific header for compatability with LG TV app + # Fixes https://github.com/YunoHost-Apps/jellyfin_ynh/issues/125 + if ($http_user_agent ~ Web0S) { + more_set_headers X-Frame-Options : ""; + } + # Disable buffering when the nginx proxy gets very resource heavy upon streaming proxy_buffering off;