vegetax nginx-forum at
Tue Jan 17 22:24:43 UTC 2017

Hi, I am getting "invalid number of arguments"  every time I add  proxy_bind
$remote_addr transparent to my configs below can someone help and let me
know what I am missing. Thx

stream {
    upstream splunk_backend {

    server {
        proxy_bind $remote_addr transparent;
        listen 514 udp;
        proxy_connect_timeout 60s;
        proxy_timeout 5m;
        proxy_pass splunk_backend;
        proxy_buffer_size 2048k;
        proxy_next_upstream_timeout 0;
        error_log  /var/log/nginx/splunk.log info;


nginx -t
nginx: [emerg] invalid number of arguments in "proxy_bind" directive in
nginx: configuration file /etc/nginx/nginx.conf test failed

Posted at Nginx Forum:,272031,272031#msg-272031

More information about the nginx mailing list