Commit 241cfc43 authored by neilpang's avatar neilpang
Browse files

fix nginx mode issue for multiple entries

parent 7c67e3d7
...@@ -2668,11 +2668,12 @@ _isRealNginxConf() { ...@@ -2668,11 +2668,12 @@ _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
return 1 return 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment