Use nginx.conf.template as the template name
This commit is contained in:
1 parent
007946f52a
commit
ca1b17ea8d
1 file changed
+1
-1
@@ -50,7 +50,7 @@ case "$1" in
|
||||
fi
|
||||
|
||||
DOKKU_APP_CIDS=($(get_container_ids $APP))
|
||||
docker cp "${DOKKU_APP_CID[0]}:/app/nginx.conf" "$APP_NGINX_TEMPLATE" 2> /dev/null || true
|
||||
docker cp "${DOKKU_APP_CID[0]}:/app/nginx.conf.template" "$APP_NGINX_TEMPLATE" 2> /dev/null || true
|
||||
|
||||
[[ -f "$DOKKU_ROOT/ENV" ]] && source $DOKKU_ROOT/ENV
|
||||
[[ -f "$DOKKU_ROOT/$APP/ENV" ]] && source $DOKKU_ROOT/$APP/ENV
|
||||
|
||||
Reference in new issue
Block a user