cubicdaiya/ngx_dynamic_upstream

allow parameter just support 127.0.0.1?

Opened this issue · 1 comments

when i was trying to add anothe private ip address like this,
location /dynamic {
allow 127.0.0.1;
allow 10.21.250.192;
deny all;
dynamic_upstream;
}

it appears happen some error,

roger@roger-pc:~/project/openresty-1.11.2.1$ sudo /usr/local/openresty/nginx/sbin/nginx -c /home/roger/project/nginx.conf -t
nginx: [emerg] invalid parameter "l0.21.250.192" in /home/roger/project/nginx.conf.:26
nginx: configuration file /home/roger/project/nginx.conf test failed

l0.21.250.192

It looks like you input not 1 but l.