I think in nginx + uwsgi setup you can use uwsgi_param to set, say, HTTP_SCHEME in your env taking it from $scheme variable in nginx (contains "http" or "https"). Fastcgi implementations have something similar.

Otherwise (mod_wsgi ?) iirc, Paster Prefix middleware should be used.

.oO V Oo.


On 03/10/2012 10:24 PM, Jonathan Vanasco wrote:
Hi Fabio-

I do the same thing with cookies and the general setup.  I wrote a
library last week to handle encryption ( insecure_or_secure_enough ).

My concern is how to know within Pyramid if the client downstream has
connected within http or https.


--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to