Fix malformatted jellyfin proxy settings
This commit is contained in:
parent
308f39c599
commit
8968b047bb
1 changed files with 2 additions and 2 deletions
|
@ -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" = / ]
|
||||||
|
|
Loading…
Reference in a new issue