mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
add more detect for nginx mode
This commit is contained in:
parent
df711b0ea2
commit
674790a511
3
acme.sh
3
acme.sh
@ -2665,7 +2665,8 @@ _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
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user