0

I have this install from this guide https://www.linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8

is there any advantage for using proxoy protocol? from https://info.varnish-software.com/blog/five-steps-to-secure-varnish-with-hitch-and-lets-encrypt

to this setup (I have varnish 5)

if so, what is the modification needed for the setup in the linode link above?

best.

ahmad
  • 3
  • 3

1 Answers1

1

To begin with, it will not be possible to use PROXY protocol in the linked setup.

Nginx supports PROXY protocol only on the client side (i.e. when there is another proxy forwarding requests to it). It doesn't support PROXY protocol with proxy_pass, where it would make more sense for Varnish + Nginx SSL setup. Sorry about that.

Danila Vershinin
  • 8,725
  • 2
  • 29
  • 35
  • do I have to use port 80 in varnish backend port?, when I did that; website like isvarnishworking.com was not able to read the varnish header unless it is on port 80 – ahmad May 20 '17 at 09:29
  • looks like it directly connects with port 80, anyway other ports shows cache hits – ahmad May 20 '17 at 10:13