On 24 Jul 2012, at 07:22, Alex Povolotsky wrote: > On 07/23/12 21:52, Tomas Doran wrote: >> On 23 Jul 2012, at 08:48, Alex Povolotsky wrote: >> >>> Hello, >>> >>> I'm setting up MojoMojo, https-protected. >>> >>> However, it keeps making http: urls. >>> >>> Setting X-Forwarded-Port did not help a bit, and trying to grep >>> X-Forwarded-Port to 443 did not help as well. >>> >>> I've set fastcgi_param HTTPS 1, and it helps, but why X-Forwarded-Port is >>> mentioned but does not work? >> >> Your post implies that your running the app as an FCGI, however you're >> caring about X-Forwarded headers, which are only relevant if you're running >> the app behind a proxy. >> >> Which (or both) of these are you specifying? >> >> Can you show us your web server config, and app config? >> > > Yes, FCGI >
<snip> > fastcgi_param HTTPS 1; # Only this line helps <snip> What does you mean with the comment there? I'd expect that line to be there, be necessary, and make things work? > === mojomojo.conf === > name MojoMojo > using_frontend_proxy 1 You do not want to set this - you are not using a frontend proxy. Cheers t0m _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/