awesome-compose/nginx-wsgi-flask/nginx/start.sh
Grant Birkinbine 65acec76ed init
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
2021-03-27 09:45:43 -06:00

3 lines
121 B
Bash

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