set variables within config
Dave Bailey
dave at daveb.net
Fri May 15 01:46:05 MSD 2009
On Thu, May 14, 2009 at 2:01 PM, Cliff Wells <cliff at develix.com> 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 "my_config.pl"
}
and then my_config.pl could query a DB for information about servers,
or whatever.
-dave
More information about the nginx
mailing list