Browse Source

Merge pull request #1222 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/1193#issuecomment-3600
pull/1200/head
neil 7 years ago
committed by GitHub
parent
commit
fce8223663
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      acme.sh

2
acme.sh

@ -2724,7 +2724,7 @@ _isRealNginxConf() {
_debug "_seg_n" "$_seg_n" _debug "_seg_n" "$_seg_n"
_skip_ssl=1 _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 [ "$_listen_i" ]; then
if [ "$(echo "$_listen_i" | _egrep_o "listen.*ssl[ |;]")" ]; then if [ "$(echo "$_listen_i" | _egrep_o "listen.*ssl[ |;]")" ]; then
_debug2 "$_listen_i is ssl" _debug2 "$_listen_i is ssl"

Loading…
Cancel
Save