|
@ -3161,9 +3161,9 @@ _checkConf() { |
|
|
FOUND_REAL_NGINX_CONF="$2" |
|
|
FOUND_REAL_NGINX_CONF="$2" |
|
|
return 0 |
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|
if cat "$2" | tr "\t" " " | grep "^ *include *;" >/dev/null; then |
|
|
|
|
|
|
|
|
if cat "$2" | tr "\t" " " | grep "^ *include +.*;" >/dev/null; then |
|
|
_debug "Try include files" |
|
|
_debug "Try include files" |
|
|
for included in $(cat "$2" | tr "\t" " " | grep "^ *include *;" | sed "s/include //" | tr -d " ;"); do |
|
|
|
|
|
|
|
|
for included in $(cat "$2" | tr "\t" " " | grep "^ *include +.*;" | sed "s/include //" | tr -d " ;"); do |
|
|
_debug "check included $included" |
|
|
_debug "check included $included" |
|
|
if ! _startswith "$included" "/" && _exists dirname; then |
|
|
if ! _startswith "$included" "/" && _exists dirname; then |
|
|
_relpath="$(dirname "$_c_file")" |
|
|
_relpath="$(dirname "$_c_file")" |
|
@ -4984,10 +4984,10 @@ $_authorizations_map" |
|
|
_info "$(__green "Cert success.")" |
|
|
_info "$(__green "Cert success.")" |
|
|
cat "$CERT_PATH" |
|
|
cat "$CERT_PATH" |
|
|
|
|
|
|
|
|
_info "Your cert is in $(__green " $CERT_PATH ")" |
|
|
|
|
|
|
|
|
_info "Your cert is in: $(__green "$CERT_PATH")" |
|
|
|
|
|
|
|
|
if [ -f "$CERT_KEY_PATH" ]; then |
|
|
if [ -f "$CERT_KEY_PATH" ]; then |
|
|
_info "Your cert key is in $(__green " $CERT_KEY_PATH ")" |
|
|
|
|
|
|
|
|
_info "Your cert key is in: $(__green "$CERT_KEY_PATH")" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ ! "$USER_PATH" ] || [ ! "$_ACME_IN_CRON" ]; then |
|
|
if [ ! "$USER_PATH" ] || [ ! "$_ACME_IN_CRON" ]; then |
|
@ -4996,7 +4996,7 @@ $_authorizations_map" |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
[ -f "$CA_CERT_PATH" ] && _info "The intermediate CA cert is in $(__green " $CA_CERT_PATH ")" |
|
|
|
|
|
|
|
|
[ -f "$CA_CERT_PATH" ] && _info "The intermediate CA cert is in: $(__green "$CA_CERT_PATH")" |
|
|
[ -f "$CERT_FULLCHAIN_PATH" ] && _info "And the full chain certs is there: $(__green "$CERT_FULLCHAIN_PATH")" |
|
|
[ -f "$CERT_FULLCHAIN_PATH" ] && _info "And the full chain certs is there: $(__green "$CERT_FULLCHAIN_PATH")" |
|
|
|
|
|
|
|
|
Le_CertCreateTime=$(_time) |
|
|
Le_CertCreateTime=$(_time) |
|
|