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
Docker Nginx Auto Ssl
Commits
69ac4f80
Commit
69ac4f80
authored
Sep 03, 2018
by
Pablo Zaidenvoren
Browse files
env
parent
276b3871
Changes
1
Hide whitespace changes
Inline
Side-by-side
entrypoint.sh
View file @
69ac4f80
...
...
@@ -58,8 +58,8 @@ if [ "$FORCE_HTTPS" == "true" ]; then
fi
# let's substitute $ALLOWED_DOMAINS into OpenResty configuration
envsubst
'$ALLOWED_DOMAINS'
\
# let's substitute $ALLOWED_DOMAINS
and $LETSENCRYPT_URL
into OpenResty configuration
envsubst
'$ALLOWED_DOMAINS
,$LETSENCRYPT_URL
'
\
<
${
RESTY_CONF_DIR
}
/resty-http.conf
\
>
${
RESTY_CONF_DIR
}
/resty-http.conf.copy
\
&&
mv
${
RESTY_CONF_DIR
}
/resty-http.conf.copy
${
RESTY_CONF_DIR
}
/resty-http.conf
...
...
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