We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thank you for making pyuwsgi! It is amazing and it has helped me solved a lot of issus.
It seems --env option doesn't work in pyuwsgi nor does env=MYENV=12 work in `myuwsgi.ini' ?
--env
env=MYENV=12
The text was updated successfully, but these errors were encountered:
Here is a python file that prints env:
# print_env.py import os print 'printing my_env:', os.environ["MY_ENV"]
The results look like this when using regular uwsgi:
$ venv/bin/uwsgi --env MY_ENV=123 --py ./print_env.py printing my_env: 123
but when using pyuwsgi it raise KeyError:
$ venv/bin/pyuwsgi --env MY_ENV=123 --py ./print_env.py raise KeyError(key) KeyError: 'MY_ENV'
Sorry, something went wrong.
No branches or pull requests
Hi, thank you for making pyuwsgi! It is amazing and it has helped me solved a lot of issus.
It seems
--env
option doesn't work in pyuwsgi nor doesenv=MYENV=12
work in `myuwsgi.ini' ?The text was updated successfully, but these errors were encountered: