> Hi, > > How is it determined wsgi.url_scheme? > > I'm using https, nginx, and in the uwsgi environ I have this: > > 'wsgi.url_scheme': 'http' > 'HTTP_ORIGIN': 'https:// > > I think it should be: > 'wsgi.url_scheme': 'https' > > ? > >
Nginx (by default) does not set the scheme. use uwsgi_param UWSGI_SCHEME https; or uwsgi_param HTTPS on; -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
