mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-15 22:29:08 +02:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -33,8 +33,5 @@ sed -i '/proxy_buffering/a sub_filter_types *;' "${NGINX_CONFIG}"
|
|||||||
sed -i '/proxy_buffering/a sub_filter "vnc/index.html?autoconnect" "vnc/index.html?path=%%path%%/websockify?autoconnect";' "${NGINX_CONFIG}"
|
sed -i '/proxy_buffering/a sub_filter "vnc/index.html?autoconnect" "vnc/index.html?path=%%path%%/websockify?autoconnect";' "${NGINX_CONFIG}"
|
||||||
sed -i "s|%%path%%|${SUBFOLDER:1}|g" "${NGINX_CONFIG}"
|
sed -i "s|%%path%%|${SUBFOLDER:1}|g" "${NGINX_CONFIG}"
|
||||||
|
|
||||||
# Avoid content encoding on proxied responses to keep Selkies happy
|
# Avoid content encoding on proxied responses to keep Selkies happy (handled by proxy_set_header Accept-Encoding insertion above)
|
||||||
sed -i '/proxy_buffering/a \
|
|
||||||
proxy_set_header Accept-Encoding "";' "${NGINX_CONFIG}"
|
|
||||||
|
|
||||||
cp "${NGINX_CONFIG}" /etc/nginx/sites-enabled
|
cp "${NGINX_CONFIG}" /etc/nginx/sites-enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user