mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
fix nginx mode issue for multiple entries
This commit is contained in:
parent
7c67e3d7e2
commit
241cfc4342
9
acme.sh
9
acme.sh
@ -2668,10 +2668,11 @@ _isRealNginxConf() {
|
|||||||
if [ "$(echo "$_seg_n" | _egrep_o "^ *ssl *on *;")" ] \
|
if [ "$(echo "$_seg_n" | _egrep_o "^ *ssl *on *;")" ] \
|
||||||
|| [ "$(echo "$_seg_n" | _egrep_o "listen .* ssl[ |;]")" ]; then
|
|| [ "$(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
|
||||||
|
Loading…
Reference in New Issue
Block a user