Mixed Virtualhosts and IP hosts

mike mike503 at gmail.com
Sun Aug 31 11:37:56 MSD 2008


seems to work well - just took out that second http {} block and put
it in the first one and it seems to be functional still for mogilefs.

cool!

On 8/31/08, Igor Sysoev <is at rambler-co.ru> wrote:
> On Sun, Aug 31, 2008 at 12:30:14AM -0700, mike wrote:
>
> > I am totally fine with just making an additional server {} block
> > instead of http {}
> >
> > This is pretty much the only configuration option I'd want to change:
> > client_body_temp_path /var/mogdata/.tmp;
> >
> > would this work? I guess the more I think about it I don't care where
> > it puts the temp files... I just know that /var/mogdata/.tmp works
> > nicely for the mogilefs stuff.
> >
> >
> >            server {
> >                       access_log off;
> >                       listen 7500;
> >                       server_name localhost;
> >                       client_body_temp_path /var/mogdata/.tmp;
> >                       charset utf-8;
> >                       location / {
> >                               root /var/mogdata/;
> >                               dav_methods put delete mkcol copy move;
> >                               dav_access user:rw group:rw all:r;
> >                               create_full_put_path on;
> >                       }
> >            }
>
> Yes, you may set/override client_body_temp_path on http/server/locaiton level.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>





More information about the nginx mailing list