mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-23 07:46:05 +02:00
Fix NGINX config substitution for SUBFOLDER
This commit is contained in:
@@ -29,7 +29,7 @@ sed -i "s|CWS|8082|g" "${NGINX_CONFIG}"
|
|||||||
sed -i "s|REPLACE_HOME|${HOME:-/root}|g" "${NGINX_CONFIG}"
|
sed -i "s|REPLACE_HOME|${HOME:-/root}|g" "${NGINX_CONFIG}"
|
||||||
|
|
||||||
# Correct image
|
# Correct image
|
||||||
sed -i "s|SUBFOLDERwebsock|/websock|g" "${NGINX_CONFIG}"
|
sed -i "s|SUBFOLDER|/|g" "${NGINX_CONFIG}"
|
||||||
|
|
||||||
# Enable ingress
|
# Enable ingress
|
||||||
cp /etc/nginx/sites-available/ingress.conf /etc/nginx/sites-enabled
|
cp /etc/nginx/sites-available/ingress.conf /etc/nginx/sites-enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user