Always generate config when starting container before forego
This commit is contained in:
parent
30128cfda0
commit
198277334b
1 changed files with 3 additions and 0 deletions
|
|
@ -19,4 +19,7 @@ if [ "$socketMissing" = 1 -a "$1" = forego -a "$2" = start -a "$3" = '-r' ]; the
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Always generate config during startup
|
||||||
|
docker-gen /app/nginx.tmpl /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue