Welcome! Log In Create A New Profile

Advanced

Re: macro functionality

merlin corey
June 27, 2009 03:59AM
I am suggesting that dynamic configuration is more complicated than
the fully specified, verbose, redundant configuration - as well as
less efficient.

Also, I do not want to see a half-baked macro language in nginx's
configuration language. What you think of as macros is not what I
think of as macros (as a lisp programmer), and it sounds more like you
just want functions that output configuration snippets.

I am suggesting that since this is not in NginX's configuration
language you can easily make use of existing programming and scripting
languages to generate your configurations as needed. It simply adds
another step before rehashing/starting which can easily be wrapped
into a makefile or init script so it is still one command. Also, it
gives you the power, comfort, and familiarity of your language of
choice, rather than some new, embedded language in NginX that we all
have to learn and test.

Adding these kinds of constructs implicates some kind of extra
resources being used, and don't we want our nginx's to be as
lightweight as possible?

Just some thoughts :)

-- Merlin


On Fri, Jun 26, 2009 at 11:13 AM, Michael Shadle<mike503@gmail.com> wrote:
> I'd like macro support too
>
> Even if it's just for making the $document_root dynamic, which can be
> done but apparently does not affect the variable itself :(
>
> On Fri, Jun 26, 2009 at 5:52 AM, Jools Wills<buzz@exotica.org.uk> wrote:
>>> Is it is easy to use mod_macro in apache?
Subject Author Posted

macro functionality

Jools Wills June 22, 2009 06:52AM

Re: macro functionality

merlin corey June 26, 2009 06:00AM

Re: macro functionality

Jools Wills June 26, 2009 08:52AM

Re: macro functionality

mike June 26, 2009 02:13PM

Re: macro functionality

merlin corey June 27, 2009 03:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready