Re: nginx counterpart of haproxy's acl dst

2016-03-31 Thread Alexey S
Hi Aleks, I think it's not the one. AFAIU the closest match for HAProxy "dst" is $server_addr, but it doesn't work as good with DNAT, because it hides original destination IP used by a client, even though there is a way to retrieve this information [1]. My usecase is following: a) I create

Re: nginx counterpart of haproxy's acl dst

2016-03-30 Thread Aleksandar Lazic
Hi. Am 30-03-2016 10:24, schrieb Alexey S: Hi, does nginx have a variable, that represents the destination IP address and port, like it was seen/used by the client at the connection time? Could you mean http://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_addr Cheers

nginx counterpart of haproxy's acl dst

2016-03-30 Thread Alexey S
Hi, does nginx have a variable, that represents the destination IP address and port, like it was seen/used by the client at the connection time? Thank you. WBR, Alexey ___ nginx mailing list nginx@nginx.org