Skip to content

Instantly share code, notes, and snippets.

View kucheruk's full-sized avatar
😁
Hello!

Evgeniy Kucheruk kucheruk

😁
Hello!
  • ATI.su
  • Saint-Petersburg, Russia
View GitHub Profile

How to add environment variables to nginx.conf

This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.

The setup

I intended to deploy two Docker containers.