Feature idea: retrieve set_real_ip_from (HttpRealipModule) from a text file online

Francis Daly francis at daoine.org
Sun Dec 30 11:30:55 UTC 2012


On Sun, Dec 30, 2012 at 02:38:09AM +0100, Lorenzo Raffio wrote:

Hi there,

> What about adding the possibility to retrieve a list of set_real_ip_from
> from a text file online?

With the "include" directive and "nginx -s reload", have you not enough
support in nginx to do this already?

An external script to periodically fetch the url contents, stick
"set_real_ip_from " at the start and ";" at the end (or do whatever other
manipulation is needed to make correct nginx.conf syntax) and save to
a local file, and then get nginx to use the updated config?

I'm not sure what extra benefit there would be to building something
like this in to nginx.

Perhaps I'm missing something,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list