Configuration Primer

Marcus Clyne eugaia at gmail.com
Wed Mar 18 18:44:00 MSK 2009


Having 'elseif' / 'else' blocks as well as 'if' would be handy too.  
It's obviously possible with lots of 'if' statements, but isn't the most 
efficient way of doing things.

Marcus.


mike wrote:
> 2009/3/18 Igor Sysoev <is at rambler-co.ru>:
>
>   
>> This is a reference and some cookbook recepts but not introdution.
>> I can write draft description of request processing from confuguration
>> point of view but without these ugly rewrites as want to change them.
>>     
>
> When you say "ugly rewrites" what do you mean?
>
> IMHO, nginx is pretty easy to pick up. At first when I saw the syntax
> I thought "oh no, another config file to learn" but it is pretty damn
> simple.
>
> My biggest issue is with location blocks. It is still confusing and
> gets annoying on sites requiring multiple location blocks, especially
> with regexps and determining the right ^~ or *~ etc.
>
> Other than that, a few tweaks to allow things like error_log at -any-
> level not just global and server but even inside conditionals would be
> neat...
>
> But I'm wondering what you meant by that. You have some code you don't
> like in nginx that you want to rewrite? If so, what? Or the "rewrite"
> directive itself and such is a nasty thing. I like to hear the plans
> and news about nginx (call me an nginx fanboy now) - even a roadmap
> would be cool too (I think I've seen bits and pieces in the past) of
> what at least you plan on changing/adding, and of course if other
> people do third party modules or patch things in the core that can
> only enhance it quicker...
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090318/80de9d57/attachment.html>


More information about the nginx mailing list