Welcome! Log In Create A New Profile

Advanced

proxy_bind

January 17, 2017 05:24PM
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 10.10.10.31:514;
server 10.10.10.32:514;
}

server {
listen 10.10.10.43:514;
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 /etc/nginx/nginx.conf:47
nginx: configuration file /etc/nginx/nginx.conf test failed
Subject Author Posted

proxy_bind

vegetax January 17, 2017 05:24PM

Re: proxy_bind

Francis Daly January 17, 2017 06:00PM

Re: proxy_bind

vegetax January 17, 2017 06:29PM

Re: proxy_bind

Francis Daly January 17, 2017 06:56PM

Re: proxy_bind

vegetax January 18, 2017 02:18PM

Re: proxy_bind

Jim Ohlstein January 18, 2017 02:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready