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

wsgihandler.py should be mentioned in the nginx deployment recipe #381

Open
icodk opened this issue Apr 5, 2018 · 1 comment
Open

wsgihandler.py should be mentioned in the nginx deployment recipe #381

icodk opened this issue Apr 5, 2018 · 1 comment

Comments

@icodk
Copy link

icodk commented Apr 5, 2018

I think that the following texts should be added to the nginx deployment recipe. It is a copy from the
Apache setup that you don't usually read if you deploy nginx:-)
May be to move it to the web2py folder also in the repository similar to the anyserver.py

Failing to do this on a deployment with git will cause 'Internal server error' in the browser and
--- no python application found, check your startup logs for errors ---
in the uwsgi log

Move the handler script
Finally, you need to relocate the handler script web2py/handlers/wsgihandler.py.  Move or copied to the parent directory (i.e. the same directory as the web2py.py script).
Make sure to set the following permissions: 0664 and www-data:www-data

@BuhtigithuB
Copy link
Collaborator

BuhtigithuB commented Apr 5, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants