Search squid archive

Problem using different ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have a little problem using 2 ports for an accel.

Port 80   should be send to cache peer on port 80 (originalserver)
Port 8080 should be send to cache peer on port 8080 (originalserver)

Here's the config I used:

--------------------------------------------------
visible_hostname        www.domain.tld

http_port       1.1.1.1:80       accel   defaultsite=www.domain.tld
http_port       1.1.1.1:8080     accel   defaultsite=www.domain.tld

cache_peer      2.2.2.2   parent  80      0       no-query
originserver    name=myAccel1
cache_peer      2.2.2.2   parent  8080    0       no-query
originserver    name=myAccel2

acl our_sites   dstdomain       www.domain.tld
acl our_sites   dstdomain       images.domain.tld
acl port80      port    80
acl port8080    port    8080

http_access     allow   our_sites
http_access     deny    all

cache_peer_access       myAccel1        allow   port80
cache_peer_access       myAccel1        deny    all

cache_peer_access       myAccel2        allow   port8080
cache_peer_access       myAccel2        deny    all
--------------------------------------------------

At the moment alle requests to port 8080 are send to cache paar on port 80.

Any idea?

Kind regards,

Andreas Müller





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux