Stupid newbie question (PHP's document_root in nginx and apache)
Robert Gabriel
lists at ruby-forum.com
Wed Feb 18 15:53:15 MSK 2009
Nuno Magalhães wrote:
> 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
But I dont get your point, why end it with "/". What cant u just use it
as it is?!
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list