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
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