debug
Browse files- data/config_nginx.sh +1 -1
data/config_nginx.sh
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
export GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT}
|
| 3 |
export N8N_PORT=${N8N_PORT}
|
| 4 |
export AGENT_ONE_SECRET=${AGENT_ONE_SECRET}
|
| 5 |
-
envsubst '${GRADIO_SERVER_PORT},${N8N_PORT},${
|
| 6 |
echo "nginx.conf has been written to /etc/nginx/nginx.conf"
|
| 7 |
echo "starting up NginX"
|
| 8 |
/usr/sbin/nginx -g 'daemon off;'
|
|
|
|
| 2 |
export GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT}
|
| 3 |
export N8N_PORT=${N8N_PORT}
|
| 4 |
export AGENT_ONE_SECRET=${AGENT_ONE_SECRET}
|
| 5 |
+
envsubst '${GRADIO_SERVER_PORT},${N8N_PORT},${AGENT_ONE_SECRET}' < /home/user/app/data/nginx.conf.template > /etc/nginx/nginx.conf
|
| 6 |
echo "nginx.conf has been written to /etc/nginx/nginx.conf"
|
| 7 |
echo "starting up NginX"
|
| 8 |
/usr/sbin/nginx -g 'daemon off;'
|