[Catalyst] uri_for method is returning relative URLs
Robert Rothenberg
robrwo at gmail.com
Wed Jan 18 12:03:10 GMT 2012
On 18/01/12 11:11 Tomas Doran wrote:
>
> 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.
I'm relying on the default /etc/nginx/fastcgi.conf - which has the exact
same values that the document says.
Do I need to manually move them into the configuration for that virtual host?
More information about the Catalyst
mailing list