Welcome! Log In Create A New Profile

Advanced

Re: Configuration Primer

Marcus Clyne
March 18, 2009 12:05PM
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@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...
>
>
>
Subject Author Posted

Re: Configuration Primer

Dan Dascalescu March 18, 2009 04:10AM

Re: Configuration Primer

Reinis Rozitis March 18, 2009 06:01AM

Re: Configuration Primer

Igor Sysoev March 18, 2009 06:15AM

Re: Configuration Primer

mike March 18, 2009 11:57AM

Re: Configuration Primer

Marcus Clyne March 18, 2009 12:05PM

Re: Configuration Primer

Reinis Rozitis March 18, 2009 12:17PM

Re: Configuration Primer

mike March 18, 2009 03:59PM

Re: Configuration Primer

Cliff Wells March 18, 2009 04:05PM

Re: Configuration Primer

mike March 18, 2009 04:26PM

RE: Configuration Primer

Chris Zimmerman March 18, 2009 08:15AM

Re: Configuration Primer

mike March 18, 2009 11:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 162
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready