You should use one of these (or perhaps both, second one is for CGI I think):

   uwsgi_param  UWSGI_SCHEME       $scheme;
   uwsgi_param  HTTPS              $https if_not_empty;

As far as I remember, it's been discussed on the list and it's not included by default because it might break legacy applications (whatever that means).

On 17.04.2014 17:15, est wrote:
just found this question

http://stackoverflow.com/a/7339716/41948

looks like nginx config missing one thing:

|uwsgi_param UWSGI_SCHEME $scheme;
|
|however |http://uwsgi-docs.readthedocs.org/en/latest/Nginx.html

the uwsgi_params does not include this line.

Is this a bug or a feature?


_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to