Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 would like to setup a reverse proxy in front of my virtual machines. All DNS records would point to the public IP where squid3 lives and squid would redirect the traffic according to the squid.conf.
According to seemed easy...

However, I am stuck on browser message "The connection was reset" in FF and ERR_EMPTY_RESPONSE in Chrome.

I added these lines on the beginning on my squid.conf:

http_port 80
http_access allow all
cache_peer parent 80 0 no-query originserver name=server_1
cache_peer_domain server_1 subdomain1.domain.tld
cache_peer parent 80 0 no-query originserver name=server_2
cache_peer_domain server_2  subdomain2.domain.tld  domain2.tld
cache deny all
acl all src all

The proxy machine has access to the other machines (verified with links)
I don't see anything in squid logs that could help.

Thanks for any suggestions!

share|improve this question
up vote 0 down vote accepted

Got it.

The squid was not running.... It is a fresh ubuntu server 12.04 install with a official squid3 package, but the upstart script is somehow not starting the squid3.

If I type sudo squid3 manually, eveyrthing works as expected.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .