awesome-compose/nginx-wsgi-flask/nginx/start.sh

3 lines
121 B
Bash
Raw Permalink Normal View History

#!/bin/bash
envsubst '$FLASK_SERVER_ADDR' < /tmp/default.conf > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'