Browse Source

fix nginx mode issue for multiple entries

pull/869/head
neilpang 8 years ago
parent
commit
241cfc4342
  1. 5
      acme.sh

5
acme.sh

@ -2668,11 +2668,12 @@ _isRealNginxConf() {
if [ "$(echo "$_seg_n" | _egrep_o "^ *ssl *on *;")" ] \
|| [ "$(echo "$_seg_n" | _egrep_o "listen .* ssl[ |;]")" ]; then
_debug "ssl on, skip"
return 1
fi
else
FOUND_REAL_NGINX_CONF_LN=$_fln
_debug3 "found FOUND_REAL_NGINX_CONF_LN" "$FOUND_REAL_NGINX_CONF_LN"
return 0
fi
fi
done
fi
return 1

Loading…
Cancel
Save