mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 09:58:16 +01:00
Update 90-ingress.sh
This commit is contained in:
@@ -22,6 +22,7 @@ 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 "s|location SUBFOLDER|location /|g" "${NGINX_CONFIG}"
|
||||
sed -i "s|%%path%%|${SUBFOLDER}|g" "${NGINX_CONFIG}"
|
||||
sed -i "s|SUBFOLDER|${SUBFOLDER}|g" "${NGINX_CONFIG}"
|
||||
|
||||
# Enable ingress
|
||||
|
||||
Reference in New Issue
Block a user