Passing port number at run time.

Brian Bruns brian.bruns at
Tue Dec 16 17:29:23 MSK 2008

Hi all,

I would like to able to pass the port number (and a couple other
things) in the http section to nginx at run time.  I know the -g
switch disallows block parameters, I've played around a bit with
patching the code to allow it but without satisfactory results.  It
appears that the parameters passed from the command are handled as a
second http block.

Before continuing down this road, does anyone have any advice about
how I might accomplish this?



More information about the nginx mailing list