adding endpoint reference

This commit is contained in:
2025-11-30 01:40:32 +00:00
parent f5935e9f52
commit bf574fa34f
2 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ set -e
# Check if certificate exists
if [ -f "/etc/letsencrypt/live/$DOMAIN/fullchain.pem" ] && [ -f "/etc/letsencrypt/live/$DOMAIN/privkey.pem" ]; then
echo "Certificates found. Using production nginx config."
envsubst '${DOMAIN} ${BACKEND_HOST} ${BACKEND_PORT} ${ICECAST_HOST} ${ICECAST_PORT}' \
envsubst '${DOMAIN} ${BACKEND_HOST} ${BACKEND_PORT} ${BACKEND_ENDPOINT} ${ICECAST_HOST} ${ICECAST_PORT}' \
< /etc/nginx/nginx.conf.template \
> /etc/nginx/nginx.conf
else