Re: proxy_protocol send incorrect header

2023-10-30 Thread Rozhuk Ivan
On Mon, 30 Oct 2023 17:00:38 +0400 Roman Arutyunyan wrote: > > I got incorrect proxy header: > > PROXY TCP4 172.16.0.208 unix:/var/run/nginx_443_test.sock 9795 > > 0\r\nSSH-2.0-OpenSSH_9.3\r\n > > > > Expect: > > PROXY TCP4 172.16.0.208 172.16.0.254 9795 > > 443\r\nSSH-2.0-OpenSSH_9.3\r\n > >

proxy_protocol send incorrect header

2023-10-30 Thread Rozhuk Ivan
Hi! I got incorrect proxy header: PROXY TCP4 172.16.0.208 unix:/var/run/nginx_443_test.sock 9795 0\r\nSSH-2.0-OpenSSH_9.3\r\n Expect: PROXY TCP4 172.16.0.208 172.16.0.254 9795 443\r\nSSH-2.0-OpenSSH_9.3\r\n My config: 172.16.0.208 - initiator and tcp server on 4443 port. 172.16.0.254 - nginx