hoseinz3
hoseinz3

Reputation: 638

What is the best way to cluster varnish?

I need to have 3 varnish instances, I follow this guide creating-varnish-cluster and now I have those systems

but requests received in Nginx and passes through varnish but varnish server can't forward request to the backend. when I call directly backend it perfectly works.

how can I fix this issue? and is there any better solution for varnish scaling? (except varnish plus:D)

Upvotes: 0

Views: 2614

Answers (1)

Guillaume Quintard
Guillaume Quintard

Reputation: 619

server.identity is the hostname of the machine, by default. I assume your machines are not called node1, node2 and node3, so you need to edit your VCL to reflect that.

Upvotes: 2

Related Questions