Skip to content

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

Description

@icodk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions