Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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