If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

  • 0
    matt-gorecki-10806  9 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.

            location / {
                    include        uwsgi_params;
                    root   /opt/www/managesite/htdocs;
                    uwsgi_param UWSGI_SCHEME https;
    replies (1)
    • michelecomitini 9 years ago

      This is not a uwsgi but a *SCGI* setup. Anyway your suggestion has been applied to the tutorial above. tnx

Commented on:

Simple setup to get started with nginx and SCGI.

Hosting graciously provided by:
Python Anywhere