Allow the usen of the "env" directive in contexts other than "main"

German Jaber germanjaber at
Thu Jan 4 01:22:15 UTC 2018

Hi folks,

Is there a reason why the "env" directive is only allowed inside the "main"

It would simplify many of my Docker deployments if I could do away with sed
and envsubst and use the "env" directive directly.

If the maintainers approve the inclusion of this feature in Nginx, I would
like to offer my time to this project by implementing this functionality.

Regards, German Jaber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list