mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 06:52:37 +00:00
commit
d29aa43ba4
8
acme.sh
8
acme.sh
@ -2665,13 +2665,15 @@ _isRealNginxConf() {
|
|||||||
|
|
||||||
_debug "_seg_n" "$_seg_n"
|
_debug "_seg_n" "$_seg_n"
|
||||||
|
|
||||||
if [ "$(echo "$_seg_n" | _egrep_o "^ *ssl *on *;")" ]; then
|
if [ "$(echo "$_seg_n" | _egrep_o "^ *ssl *on *;")" ] \
|
||||||
|
|| [ "$(echo "$_seg_n" | _egrep_o "listen .* ssl[ |;]")" ]; then
|
||||||
_debug "ssl on, skip"
|
_debug "ssl on, skip"
|
||||||
return 1
|
else
|
||||||
fi
|
|
||||||
FOUND_REAL_NGINX_CONF_LN=$_fln
|
FOUND_REAL_NGINX_CONF_LN=$_fln
|
||||||
|
_debug3 "found FOUND_REAL_NGINX_CONF_LN" "$FOUND_REAL_NGINX_CONF_LN"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user