Feature idea: retrieve set_real_ip_from (HttpRealipModule) from a text file online
Edho Arief
edho at myconan.net
Sun Dec 30 14:32:55 UTC 2012
On Sun, Dec 30, 2012 at 8:33 PM, Lorenzo Raffio
<multiformeingegno at gmail.com> wrote:
> The idea is to have it built-in, without having to arrange a script that
> fetches an external file and appends each line to set_real_ip_from and adds
> a ;
> It would be a hundreds bytes add and IMO would help many. It's just an idea
> anayway.
>
do you really need this one liner built into nginx?
curl http://what-ever.com/list | sed 's/^/set_real_ip_from /;s/$/\;/' \
> some-list.conf && nginx -s reload
More information about the nginx
mailing list