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:
parent
9f4a3d6e5d
commit
9024cba8ed
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue