Il giorno 03/ott/2011, alle ore 07:51, MidGe ha scritto:

> Thank you for your interest and quick reply.
> 
> <I was meaning disabling it in:
> 
> <applications/welcome/controllers/appadmin.py
> 
> 
>  Ah! Yes, I could do that,  But I also am able to log in and edit when using 
> apache as a server.
> 
> <i suspect the webfaction proxy is not passing the correct headers (or is
> <using some other technic) to let uWSGI knows the scheme is https.
> 
>  Yes, something like that is the cause.
> 
> <This can be easy fixed with a WSGI middleware, but i would like to be sure
> <about it.
> 
> Fine I can duplicate an re-duplicate here.  I can insert any code to 
> debug/test and am quite prepared to help in anyway. I just need some guidance 
> as I am in an area where I have little knowledge (uwsgi).
> 
> Thanks again
> 
> Michel



I have just committed support for X-FORWARDED-SSL header (it looks like it is 
what webfaction is using). It works only in --http-socket mode
(not --http one). If you can install the mercurial version on webfaction and 
test it, i will backport the patch to the stable tree.

Thanks

--
Roberto De Ioris
http://unbit.it
JID: robe...@jabber.unbit.it

Reply via email to