I found that to accept PROXY protocol connections in varnish all I need to do is to run varnish with extra -a :1234,PROXY
parameter.
But what about sending those connections to upstream?
If I have following infrastructure:
- TLS -|- VARNISH -|- NGINX - PHP
| |- ...
- TLS -|- VARNISH -|- NGINX - PHP
How should I configure Varnish to use PROXY protocol in Varnish -> Nginx
connection.