Update nginx.txt

This commit is contained in:
Alexandre
2021-07-28 18:18:30 +02:00
committed by GitHub
parent 9f29612f02
commit 3d04e01895

View File

@@ -57,6 +57,7 @@ sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
#Correct image
#sed -i 's|"/|"|g' /app/dist/index.html || true
#grep -rl '"/' /app/dist/ | xargs sed -i 's|"/|"|g' || true
#grep -rl '/api/' /app/dist/ | xargs sed -i 's|/api/|api/|g' || true
#exec nginx & bashio::log.info "Nginx started for Ingress"