Browse Source

fix redirect

pull/23/head
Johannes Schickling 9 years ago
parent
commit
a46101dcee
  1. 2
      nginx-envtpl/entrypoint.sh

2
nginx-envtpl/entrypoint.sh

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
if [[ ! -z $NGINX_CONFIG_TEMPLATE ]]; then if [[ ! -z $NGINX_CONFIG_TEMPLATE ]]; then
envtpl < $NGINX_CONFIG_TEMPLATE > /etc/nginx/nginx.conf
echo $NGINX_CONFIG_TEMPLATE | envtpl > /etc/nginx/nginx.conf
else else
envtpl /etc/nginx/nginx.conf.tpl envtpl /etc/nginx/nginx.conf.tpl
fi fi

Loading…
Cancel
Save