mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 22:51:39 +00:00
fix nginx mode
This commit is contained in:
parent
598becf619
commit
9841063df9
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…
Reference in New Issue
Block a user