Forum: NGINX Passing port number at run time.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Brian B. (Guest)
on 2008-12-16 16:49
(Received via mailing list)
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?


This topic is locked and can not be replied to.