Not existant files passed to php backend

Igor Sysoev is at rambler-co.ru
Wed Aug 20 23:40:18 MSD 2008


On Wed, Aug 20, 2008 at 12:18:42PM -0400, Sean Allen wrote:

> On Aug 20, 2008, at 12:04 PM, Igor Sysoev wrote:
> 
> >On Thu, Aug 21, 2008 at 12:01:42AM +0800, Delta Yeh wrote:
> >
> >>Does multiple complex directive inside "if" block  impact the  
> >>performance ?
> >>If so, how much ?
> >
> >No, they does not impact the perfomance, but they has many limits
> >and drawbacks.
> 
> Such as?

1) Only some directives are allowed inside "if" block.

2) If you have two or more "if" blocks and their conditions are true, then
   only last block configuration will be used, they are not merged as one
   may expect:

     if (true) {
         configuration A
     }

     if (true again) {
         configuration B  # only this configuration will be used
     }

> Our entire setup is built around these right now.

Could you show example of the setup ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list