Always generate config when starting container before forego

This commit is contained in:
Jacek Jakubik 2016-08-09 15:23:25 +02:00
parent 30128cfda0
commit 198277334b

View file

@ -19,4 +19,7 @@ if [ "$socketMissing" = 1 -a "$1" = forego -a "$2" = start -a "$3" = '-r' ]; the
exit 1
fi
# Always generate config during startup
docker-gen /app/nginx.tmpl /etc/nginx/conf.d/default.conf
exec "$@"