Skip to navigation
A way to use varnish to proxy requests to couchdb without cache
23.02.17
backend couchdb { .host = "144.76.196.50"; .port = "5984"; .probe = {.timeout = 60s;} } sub vcl_recv { if (req.http.Host == "mydomain.com") { set req.backend_hint = couchdb; return (pipe); } }
http://book.varnish-software.com/4.0/chapters/VCL_Basics.html
Reply
Anonymous
Information Epoch 1740247039
Live free or die.
Home
Notebook
Contact us