Skip to content
New issue

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

Update uwsgi/nginx deployment documentation #1558

Merged
merged 2 commits into from Nov 12, 2015
Merged

Update uwsgi/nginx deployment documentation #1558

merged 2 commits into from Nov 12, 2015

Conversation

JonasGroeger
Copy link
Contributor

This fixes #1464 and adds some documentation on how to deploy with virtual environments.

Instead of using the uwsgi_modifier1 30 directive, the uwsgi docs
recommend to use the mount / manage-script-name approch which mounts
a module + callable to a certain path. This way, SCRIPT_NAME and
PATH_INFO are correctly rewritten.

See http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html#hosting-multiple-apps-in-the-same-process-aka-managing-script-name-and-path-info

Fixes #1464
@jeffwidman
Copy link
Contributor

👍

Was just coming here to fix the uwsgi guide (uwsgi_modifier1 is deprecated) and saw this PR. LGTM, nice job. CC @untitaker

@mitsuhiko
Copy link
Contributor

I'm going to merge this. It seems reasonable and I got an ACK from another person that seems to understand things :)

mitsuhiko added a commit that referenced this pull request Nov 12, 2015
Update uwsgi/nginx deployment documentation
@mitsuhiko mitsuhiko merged commit 751fe45 into pallets:master Nov 12, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uWSGI / nginx documentation is incorrect
3 participants