[Catalyst] uri_for method is returning relative URLs

Tomas Doran bobtfish at bobtfish.net
Wed Jan 18 11:11:47 GMT 2012


On 18 Jan 2012, at 09:58, Robert Rothenberg wrote:
>
> So is there something about FastCGI that is doing this?

You're getting the config wrong.

Every single case I've seen of anything like this in the last 12+  
months (since I fixed it) has been where the user isn't correctly  
setting up the fastcgi_params in their nginx config.

It needs to be _exactly_ like this:

https://metacpan.org/module/ 
Catalyst::Manual::Deployment::nginx::FastCGI#Configuration

Otherwise it won't work as expected.

Cheers
t0m




More information about the Catalyst mailing list