neilpang 2018-01-25 21:08:20 +08:00
parent c05eb0b1b2
commit d1067c60bf

View File

@ -2724,7 +2724,7 @@ _isRealNginxConf() {
_debug "_seg_n" "$_seg_n"
_skip_ssl=1
for _listen_i in $(echo "$_seg_n" | grep "^ *listen" | tr -d " "); do
for _listen_i in $(echo "$_seg_n" | tr "\t" ' ' | grep "^ *listen" | tr -d " "); do
if [ "$_listen_i" ]; then
if [ "$(echo "$_listen_i" | _egrep_o "listen.*ssl[ |;]")" ]; then
_debug2 "$_listen_i is ssl"