Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d1067c60
Commit
d1067c60
authored
Jan 25, 2018
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/1193#issuecomment-360025170
parent
c05eb0b1
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
d1067c60
...
@@ -2724,7 +2724,7 @@ _isRealNginxConf() {
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment