Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.


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 http://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers 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 192.168.0.50 parent 80 0 no-query originserver name=server_1
cache_peer_domain server_1 subdomain1.domain.tld
cache_peer 192.168.0.56 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

1 Answer 1

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

Your Answer

 
discard

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.