Fix malformatted jellyfin proxy settings

This commit is contained in:
Manuel Thalmann 2025-04-18 13:24:17 +02:00
parent 308f39c599
commit 8968b047bb

View file

@ -123,12 +123,12 @@ begin
end end
function getExtraLocationSettings -a domain s location -V service -V suggest -V servarr function getExtraLocationSettings -a domain s location -V service -V suggest -V servarr
set -l wsConfig ( set -l wsConfig "$(
printf "%s\n" \ printf "%s\n" \
'# Websocket' \ '# Websocket' \
"proxy_http_version 1.1;" \ "proxy_http_version 1.1;" \
'proxy_set_header Upgrade $http_upgrade;' \ 'proxy_set_header Upgrade $http_upgrade;' \
'proxy_set_header Connection "upgrade";') 'proxy_set_header Connection "upgrade";')"
if [ "$s" = "$service" ] if [ "$s" = "$service" ]
if [ "$location" = / ] if [ "$location" = / ]