diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 6353314..3827bd6 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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 "$@"