fix nginx backup and more relpath related
This commit is contained in:
parent
93305849a5
commit
802c4fd9c7
3
acme.sh
3
acme.sh
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user