See here a nice new natively supported feature in Nginx 1.19 Docker image. It now allows templates and environment variable substitution.
[https://marcofranssen.nl/nginx-1-19-supports-environment-variables-and-templates-in-docker/](https://marcofranssen.nl/nginx-1-19-supports-environment-variables-and-templates-in-docker/)
Nice
Is this an NGINX feature or something built into the image?
Nice post, but if you already use Kubernetes, why don’t you use ConfigMaps to configure this?
Nice one! this makes more easier managing nginx configurations. But, this already exists on nginx ingress controller.
Do you think this feature would handle an array of options?
E.g
server_name $SERVER_NAMES
$SERVER_NAMES=mysiteA.com,mysiteB.com,*.mysiteA.com