Skip to content

Instantly share code, notes, and snippets.

@ThijsFeryn
Created September 20, 2016 15:22
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/cab450ee26856554a2e1d52856144492 to your computer and use it in GitHub Desktop.
Save ThijsFeryn/cab450ee26856554a2e1d52856144492 to your computer and use it in GitHub Desktop.
Varnish 5 offers backend PROXY protocol support. If you add the ".proxy_header" attribute, the PROXY protocol will be used.
backend default {
.host = "127.0.0.1";
.port = "8080";
.proxy_header = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment