You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
173 B

8 years ago
8 years ago
  1. #!/bin/bash
  2. if [[ ! -z $NGINX_CONFIG_TEMPLATE ]]; then
  3. echo $NGINX_CONFIG_TEMPLATE | envtpl > /etc/nginx/nginx.conf
  4. else
  5. envtpl /etc/nginx/nginx.conf.tpl
  6. fi
  7. exec "$@"