Server Fault is a question and answer site for system and network administrators. 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 have a reverse proxy in front of my virtual machines. All DNS records point to the public IP where squid3 lives and squid redirects the traffic on the port 80.

Now, I would like to enable other ports for HTTP, like 8080. I have this in my squid.conf:

http_port 80
http_port 8080
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

But squid does not really redirect to port 8080 on the server_1. Is it possible something like

cache_peer parent * 0 no-query originserver name=server_1

Obviously the asterisk is not a valid port number and squid complains.

Thanks for any suggestions!

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.