|
@ -2,6 +2,8 @@ |
|
|
|
|
|
|
|
|
if [[ ! -z $NGINX_CONFIG_TEMPLATE ]]; then |
|
|
if [[ ! -z $NGINX_CONFIG_TEMPLATE ]]; then |
|
|
echo $NGINX_CONFIG_TEMPLATE | envtpl > /etc/nginx/nginx.conf |
|
|
echo $NGINX_CONFIG_TEMPLATE | envtpl > /etc/nginx/nginx.conf |
|
|
|
|
|
elif [[ ! -z $NGINX_CONFIG_TEMPLATE_B64 ]]; then |
|
|
|
|
|
echo $NGINX_CONFIG_TEMPLATE_B64 | base64 --decode | envtpl > /etc/nginx/nginx.conf |
|
|
else |
|
|
else |
|
|
envtpl /etc/nginx/nginx.conf.tpl |
|
|
envtpl /etc/nginx/nginx.conf.tpl |
|
|
fi |
|
|
fi |
|
|