working test deploy config

This commit is contained in:
kfj001 committed 2026-06-19 22:55:00 -07:00
1 parent c4cc268ea8
commit f133d11123
18 files changed
+268 -19

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
#!/bin/sh
# Render the nginx config template with environment variables, then start nginx.
# Render config templates with environment variables, then start nginx.
set -e
envsubst '${API_UPSTREAM}' < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf
envsubst '${API_UPSTREAM},${API_PUBLIC_URL}' < /usr/share/nginx/html/config.json.template > /usr/share/nginx/html/config.json
exec nginx -g 'daemon off;'