You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hello,
I think you are right, I had this problem once and if I recall it wasn't
obvious what the problem were at first... I think deployment script was
buggy (not up to date) and the handlers file wasn't be copy in web2py
folder... So, if it not already mention in the book it's defenitly an great
improvement...
Can you send a PR?
If you can point me (chapter, section) where you want to add this insigth
and I will update the book for you.
Regards
On Thu, Apr 5, 2018 at 6:43 AM, icodk ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#381>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlWx9zlAvvONLyFGT-zHILdSu1z4uh9ks5tlfVHgaJpZM4TIO85>
.
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
The text was updated successfully, but these errors were encountered: