Files
kmtnflower/docker-entrypoint.sh
T

8 lines
228 B
Bash

#!/bin/sh
# Render the nginx config template with environment variables, then start nginx.
set -e
envsubst '${API_UPSTREAM}' < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf
exec nginx -g 'daemon off;'