unit: Unable to get environment variables
By default, Nginx Unit is not able to get the environment variables unless they are set through environment. Is there a way to get the environment variable from the system environment?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (6 by maintainers)
I am using Python and Django, when I use
os.environ["PATH"]I getKeyErrorThat would definitely be a welcome addition.
Best, Jeff