Nginx environment variable substitution with Docker for SaaS apps

Stefan Pöltl
2 min readNov 16, 2021

Software as a service apps should store configuration values in environment variables when you rely on the twelve-factor app Saas guide. The twelve-factor rule says you should seperate config from your code, because configuration varies across environment stages: https://12factor.net/config

--

--