Skip to content
Snippets Groups Projects
Commit cd98e75c authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

Run envsubst on container start to make templating easier

This entrypoint script will look for files in /etc/nginx/templates/ with
a ".conf.template" suffix, run them through envsubst replacing defined
environment variables, and output to /etc/nginx/conf.d/ preserving file
name sans .template.

Fixes #232.
parent 47f11ab8
Loading
Showing
with 264 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment