Browse Source

fix nginx mode

dnsconf
neilpang 6 years ago
parent
commit
9841063df9
  1. 2
      acme.sh

2
acme.sh

@ -2839,7 +2839,7 @@ _isRealNginxConf() {
_skip_ssl=1 _skip_ssl=1
for _listen_i in $(echo "$_seg_n" | tr "\t" ' ' | 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"
else else
_debug2 "$_listen_i is plain text" _debug2 "$_listen_i is plain text"

Loading…
Cancel
Save