Yes, WebFaction uses nginX for HTTPS. WebFaction said that they send 'X-FORWARDED-PROTO' and 'X-FORWARDED-SSL' headers which apparently Pylons doesn't parse. Is there a better solution here?
On Aug 2, 10:28 pm, Mike Orr <[email protected]> wrote: > On Sun, Aug 2, 2009 at 9:03 PM, hekevintran<[email protected]> wrote: > > > I found a good solution. It will know which protocol to use if you > > specify it in the function call to redirect_to: > > > return redirect_to(protocol='https', controller='myController', > > action='index') > > That's a workaround, yes. Is WebFaction doing proxying? Because my > HTTPS application uses ProxyPass and the URLs are generated correctly > even without the protocol option. > > -- > Mike Orr <[email protected]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
