Update 90-ingress.sh

This commit is contained in:
Alexandre
2026-01-16 14:39:23 +01:00
committed by GitHub
parent 4d81f352e0
commit 0d1a140054

View File

@@ -20,7 +20,7 @@ sed -i "s|CWS|8082|g" "${NGINX_CONFIG}"
sed -i '/proxy_buffering/a proxy_set_header Accept-Encoding "";' "${NGINX_CONFIG}"
sed -i '/proxy_buffering/a sub_filter_once off;' "${NGINX_CONFIG}"
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|location SUBFOLDER|location /|g" "${NGINX_CONFIG}"
sed -i "s|%%path%%|${SUBFOLDER}|g" "${NGINX_CONFIG}"
sed -i "s|SUBFOLDER|${SUBFOLDER}|g" "${NGINX_CONFIG}"