Browse Source

fix redirect

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

2
nginx-envtpl/entrypoint.sh

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

Loading…
Cancel
Save