Opened 13 years ago

Closed 13 years ago

#38 closed defect (fixed)

uwsgi module cannot distinct between http/https session

Reported by: claimid.com/cezio Owned by: somebody
Priority: minor Milestone:
Component: nginx-module Version: 1.0.x
Keywords: ssl uwsgi Cc:
uname -a:
nginx -V:

Description

It seems that uwsgi module doesn't pass all params needed to recreate request environment. It lacks information if request is send with https or not. This breaks url link generation ie. in WebOb.

Problem seems to be known and fix is simple (a line more in uwsgi_params; I've checked source of 1.0.8 version and it lacked UWSGI_SCHEME param):

http://lists.unbit.it/pipermail/uwsgi/2010-August/000561.html

Change History (1)

comment:1 by Valentin V. Bartenev, 13 years ago

Resolution: fixed
Status: newclosed

In [4334/nginx]:

Added HTTPS param with Apache-like behaviour to fastcgi/scgi/uwsgi_params (fixes #38).

Note: See TracTickets for help on using tickets.