1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Remove header for LG TV apps (YunoHost-Apps/jellyfin_ynh#125)

This commit is contained in:
Noah Manneschmidt 2024-07-05 12:45:34 -07:00 committed by GitHub
parent 9f4a3d6e5d
commit 9024cba8ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,12 @@ location __PATH__/ {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection; 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 # Disable buffering when the nginx proxy gets very resource heavy upon streaming
proxy_buffering off; proxy_buffering off;