set variables within config

Dave Bailey dave at
Fri May 15 01:46:05 MSD 2009

On Thu, May 14, 2009 at 2:01 PM, Cliff Wells <cliff at> wrote:
> If you wanted, you could probably even leverage some template engine
> (typically used for HTML generation, but often useful standalone) to
> generate configs.

It would be neat if nginx had an "include_exec" command that executed
its argument and processed the output for configuration directives.

http {
  include_exec ""

and then could query a DB for information about servers,
or whatever.


More information about the nginx mailing list