Skip to content

Instantly share code, notes, and snippets.

@ThijsFeryn
Created January 20, 2016 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThijsFeryn/70771ee317ab6b4d7097 to your computer and use it in GitHub Desktop.
Save ThijsFeryn/70771ee317ab6b4d7097 to your computer and use it in GitHub Desktop.
Adding PROXY protocol support by adding an extra listener on a separate port. Explictly add the PROXY keyword to enforce the protocol
/usr/sbin/varnishd -a :6081 -a :6083,PROXY -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,5g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment