Running web2py with Gunicorn in HTTPS - Arguments for anyserver.py

16 views
Skip to first unread message

Jagadish Songapa Gounder

unread,
Jun 22, 2018, 7:01:19 AM6/22/18
to web2py-users
Hi ,

how to run  web2py with Gunicorn in HTTPS, can i add arguments in anyserver.py ?

Thanks for your help in advance.

Jagadish

黄祥

unread,
Jun 22, 2018, 7:11:12 AM6/22/18
to web2py-users
base on the book, here is the default argument provide by anyserver.py
ref:

think it need sudo (super user access) to run port < 1000, and alternatively you can run gunicorn itself (without anyserver.py), of course the arguments is belong to gunicorn app
e.g.
cd path_to_web2py
cp handlers/fcgihandler.py ./
gunicorn fcgihandler

best regards,
stifan
Reply all
Reply to author
Forward
0 new messages