fix: keep track of case where current deployment does not have a custom nginx.conf.sigil
This commit is contained in:
1 parent
39beb8894f
commit
67c243b0ba
3 files changed
+11
-1
No files matched your search
@@ -190,6 +190,10 @@ get_custom_nginx_template() {
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -f "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil.$DOKKU_PID.missing" ]]; then
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -f "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil.$DOKKU_PID" ]]; then
|
||||
cp "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil.$DOKKU_PID" "$DESTINATION_FILE"
|
||||
elif [[ -f "${DOKKU_LIB_ROOT}/data/nginx-vhosts/app-$APP/nginx.conf.sigil" ]]; then
|
||||
|
||||
Reference in new issue
Block a user