awesome-compose/nginx-wsgi-flask/nginx/start.sh
grantbirki b1cf5cbc50
updating main documentation to include link to sample and adding newlines
Signed-off-by: grantbirki <grant.birkinbine@gmail.com>
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
2021-03-20 22:04:02 -07: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;'