#!/usr/local/bin/dumb-init /bin/bash | |
set -e | |
export DNS_ADDR=`cat /etc/resolv.conf | grep nameserver | cut -d' ' -f2-` | |
envsubst '$DNS_ADDR' < /etc/nginx/nginx.template > /usr/local/openresty/nginx/conf/nginx.conf | |
/usr/local/openresty/bin/openresty -g "daemon off;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment