Passing port number at run time

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?

Thanks,

Brian

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs