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
674790a5
Commit
674790a5
authored
Jun 05, 2017
by
neilpang
Browse files
add more detect for nginx mode
parent
df711b0e
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
674790a5
...
@@ -2665,7 +2665,8 @@ _isRealNginxConf() {
...
@@ -2665,7 +2665,8 @@ _isRealNginxConf() {
_debug
"_seg_n"
"
$_seg_n
"
_debug
"_seg_n"
"
$_seg_n
"
if
[
"
$(
echo
"
$_seg_n
"
| _egrep_o
"^ *ssl *on *;"
)
"
]
;
then
if
[
"
$(
echo
"
$_seg_n
"
| _egrep_o
"^ *ssl *on *;"
)
"
]
||
[
"
$(
echo
"
$_seg_n
"
| _egrep_o
"listen .* ssl[ |;]"
)
"
]
;
then
_debug
"ssl on, skip"
_debug
"ssl on, skip"
return
1
return
1
fi
fi
...
...
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