fix nginx mode issue for multiple entries

This commit is contained in:
neilpang committed 2017-06-05 22:29:21 +08:00
1 parent 7c67e3d7e2
commit 241cfc4342
1 file changed
+5 -4
+5 -4
View File
@@ -2668,10 +2668,11 @@ _isRealNginxConf() {
if [ "$(echo "$_seg_n" | _egrep_o "^ *ssl *on *;")" ] \
|| [ "$(echo "$_seg_n" | _egrep_o "listen .* ssl[ |;]")" ]; then
_debug "ssl on, skip"
return 1
fi
FOUND_REAL_NGINX_CONF_LN=$_fln
return 0
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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.