Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Docker Nginx
Commits
26d56d02
Commit
26d56d02
authored
Jun 13, 2022
by
name
Browse files
优化启动脚本
parent
b57520e1
Changes
1
Show whitespace changes
Inline
Side-by-side
docker-entrypoint.sh
View file @
26d56d02
...
...
@@ -6,6 +6,11 @@ SslServer="$SslServer"
mail
=
"
$mail
"
SSL_DIR
=
"/etc/nginx/ssl/app/"
if
[
-z
"
$mail
"
]
;
then
echo
"[
$(
date
)
] Empty env var mail"
mail
=
"youmail@example.com"
fi
if
[
-z
"
$DOMAINS
"
]
;
then
echo
"[
$(
date
)
] Empty env var DOMAINS"
# exit 1
...
...
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