Eric,

You are probably running your site behind a reverse proxy with https:// to 
the web server forwarding over http:// to Pyramid. In that case Pyramid 
itself is accessed over http:// so it generates http:// URLs.

You can use the PrefixMiddleware included with Paste to interpret 
X-Forwarded-Scheme 
and other X- proxy headers. If your application is the only application then 
the prefix is just /.

http://pythonpaste.org/deploy/modules/config.html?highlight=prefix#paste.deploy.config.PrefixMiddleware

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

Reply via email to