Another auth/location question - probably very simple to fix :)
Igor Sysoev
is at rambler-co.ru
Sat Aug 16 13:18:47 MSD 2008
On Sat, Aug 16, 2008 at 02:06:15AM -0700, mike wrote:
> On 8/16/08, Igor Sysoev <is at rambler-co.ru> wrote:
>
> > > 1) http://marc.info/?l=nginx&m=121871958203885&w=2 -
> > > 2) http://marc.info/?l=nginx&m=121818872305549&w=2 - applies
> > > 3) and the static post patch you just supplied - it applies with fuzz
> > >
> > > (I apply these using patch -p1 < patch.txt, let me know if there is a
> > > better way)
> >
> > 1) and 3) are the same slightly different patch. Use the 3) only.
> > it will be in 0.7.11 certainly.
>
> okay. that's what i did this time.
>
> > 2) will probably be 0.7.11 too. Additional syscalls should be compensated
> > by "open_file_cache_errors on".
>
> so I will want to say this, or other people who are worried about the
> additional syscalls by cycling through the index files will want to
> turn it on?
>
> remember I am advocating testing all the index file options until they run out.
You may set it on, it can be turned on/off on http/server/location levels.
I usually set it off for mirror-on-demand locations:
location /dir/ {
open_file_cache_errors off;
error_page 404 = @fetch;
}
location @fetch {
proxy_store on;
...
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list