Commit 69ac4f80 authored by Pablo Zaidenvoren's avatar Pablo Zaidenvoren
Browse files

env

parent 276b3871
...@@ -58,8 +58,8 @@ if [ "$FORCE_HTTPS" == "true" ]; then ...@@ -58,8 +58,8 @@ if [ "$FORCE_HTTPS" == "true" ]; then
fi fi
# let's substitute $ALLOWED_DOMAINS into OpenResty configuration # let's substitute $ALLOWED_DOMAINS and $LETSENCRYPT_URL into OpenResty configuration
envsubst '$ALLOWED_DOMAINS' \ envsubst '$ALLOWED_DOMAINS,$LETSENCRYPT_URL' \
< ${RESTY_CONF_DIR}/resty-http.conf \ < ${RESTY_CONF_DIR}/resty-http.conf \
> ${RESTY_CONF_DIR}/resty-http.conf.copy \ > ${RESTY_CONF_DIR}/resty-http.conf.copy \
&& mv ${RESTY_CONF_DIR}/resty-http.conf.copy ${RESTY_CONF_DIR}/resty-http.conf && mv ${RESTY_CONF_DIR}/resty-http.conf.copy ${RESTY_CONF_DIR}/resty-http.conf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment