Stupid newbie question (PHP's document_root in nginx and apache)

Nuno Magalhães nunomagalhaes at eu.ipp.pt
Wed Feb 18 15:31:31 MSK 2009


On Wed, Feb 18, 2009 at 11:57 AM, Robert Gabriel <lists at ruby-forum.com> wrote:
> Here you go:
>
> http {
>    root /var/www/nginx-default; # this is document root in nginx.

That's what i already had, and i had tried ending it with /, didn't
work in the conf file. I ended up going to the fastcgi_params files
and add the / to the end of $document_root. Now it works.

I still don't know what's standard. Anyone? Is this common?

Nuno Magalhães
LU#484677





More information about the nginx mailing list