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
9841063d
Commit
9841063d
authored
Dec 06, 2018
by
neilpang
Browse files
fix nginx mode
parent
598becf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
9841063d
...
@@ -2839,7 +2839,7 @@ _isRealNginxConf() {
...
@@ -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"
...
...
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