dm/docker/nginx/start.sh

2 lines
120 B
Bash
Raw Normal View History

2024-06-19 19:23:01 +08:00
#!/bin/bash
envsubst '$FLASK_SERVER_ADDR' < /tmp/default.conf > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'