fix nginx backup and more relpath related

This commit is contained in:
Ben Ma 2021-08-21 19:27:10 +08:00
parent 93305849a5
commit 802c4fd9c7

View File

@ -3067,7 +3067,6 @@ _setNginx() {
_err "Can not find conf file for domain $d"
return 1
fi
popd >/dev/null
_info "Found conf file: $FOUND_REAL_NGINX_CONF"
_ln=$FOUND_REAL_NGINX_CONF_LN
@ -3142,6 +3141,8 @@ location ~ \"^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)\$\" {
return 1
fi
popd >/dev/null
return 0
}