awesome-compose/nginx-wsgi-flask/nginx/start.sh
Grant Birkinbine 4480b64e58
init (#120)
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
2021-04-06 11:54:06 +02: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;'