Fix NGINX config substitution for SUBFOLDER

This commit is contained in:
Alexandre
2025-08-23 09:17:45 +02:00
committed by GitHub
parent 21297d1725
commit 9ac77d68f6

View File

@@ -29,7 +29,7 @@ sed -i "s|CWS|8082|g" "${NGINX_CONFIG}"
sed -i "s|REPLACE_HOME|${HOME:-/root}|g" "${NGINX_CONFIG}"
# Correct image
sed -i "s|SUBFOLDERwebsock|/websock|g" "${NGINX_CONFIG}"
sed -i "s|SUBFOLDER|/|g" "${NGINX_CONFIG}"
# Enable ingress
cp /etc/nginx/sites-available/ingress.conf /etc/nginx/sites-enabled