bug fixes for local deployment model

This commit is contained in:
2026-06-28 14:37:24 -07:00
parent 621e8bd7b6
commit 8ef1ac12c7
3 changed files with 12 additions and 3 deletions
+3
View File
@@ -2,6 +2,9 @@
# Render config templates with environment variables, then start nginx.
set -e
# Ensure nginx can write to the shared logs directory
mkdir -p /logs && chown nginx:nginx /logs
sed "s|__API_UPSTREAM__|${API_UPSTREAM}|g" /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf
envsubst '${API_PUBLIC_URL}' < /usr/share/nginx/html/config.json.template > /usr/share/nginx/html/config.json