I want to use Varnish to listen at port 80 and forward the HTTP requests to different local ports, based on the hostname. Each hostname represent a different Rails application.

Is it default behavior of Varnish not to store the entire HTTP request before forwarding. IF not, what is the configuration setting called?

I'm new to Varnish. I have chosen Varnish instead of HAProxy, because I don't need load balancing and might make use of caching later on.


If you aren't caching, you might as well just use return(pipe);, which will have Varnish simply pass raw data between client and backend.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.