If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
You can also add a uwsgi_param to your location to force uwsgi to see the connection as https.
Here's what part of my nginx config looks like, UWSGI_SCHEME is the param that needs set.
location / { include uwsgi_params; root /opt/www/managesite/htdocs; uwsgi_param UWSGI_SCHEME https; uwsgi_pass 127.0.0.1:3031; }
This is not a uwsgi but a *SCGI* setup. Anyway your suggestion has been applied to the tutorial above. tnx
Simple setup to get started with nginx and SCGI.
0
matt-gorecki-10806 12 years ago
You can also add a uwsgi_param to your location to force uwsgi to see the connection as https.
Here's what part of my nginx config looks like, UWSGI_SCHEME is the param that needs set.
replies (1)