Hey Everyone,

Can someone help my out with this config, it looks correct and I can't find any 
examples of anyone using cache_peer_access with myportname acl's.
Basically I have 6 incoming ports that i want to reverse proxy to 6 other ip 
addresses. I also posted a small piece of the cache log where I think the 
problem is.

2010/11/16 14:18:27| fwdComplete: http://10.1.212.100/
        status 504
2010/11/16 14:18:27| fwdReforward: http://10.1.212.100/?
2010/11/16 14:18:27| fwdReforward: No forward-servers left
2010/11/16 14:18:27| fwdComplete: not re-forwarding status 504


acl adminhttpacl myportname adminhttpport
acl adminhttpsacl myportname adminhttpsport
acl all src all
acl apihttpacl myportname apihttpport
acl apihttpsacl myportname apihttpsport
acl wwwhttpacl myportname wwwhttpport
acl wwwhttpsacl myportname wwwhttpsport
cache_peer 192.168.1.110 parent 443 0 originserver ssl 
sslflags=DONT_VERIFY_PEER no-query name=wwwhttpspeer
cache_peer 192.168.1.110 parent 80 0 originserver no-query name=wwwhttppeer
cache_peer 192.168.1.111 parent 443 0 originserver ssl 
sslflags=DONT_VERIFY_PEER no-query name=apihttpspeer
cache_peer 192.168.1.111 parent 80 0 originserver no-query name=apihttppeer
cache_peer 192.168.1.112 parent 443 0 originserver ssl 
sslflags=DONT_VERIFY_PEER no-query name=adminhttpspeer
cache_peer 192.168.1.112 parent 80 0 originserver no-query name=adminhttppeer
cache_peer_access adminhttppeer allow adminhttpacl
cache_peer_access adminhttpspeer allow adminhttpsacl
cache_peer_access apihttppeer allow apihttpacl
cache_peer_access apihttpspeer allow apihttpsacl
cache_peer_access wwwhttppeer allow wwwhttpacl
cache_peer_access wwwhttpspeer allow wwwhttpsacl
http_access allow all
http_port 192.168.1.100:80 name=wwwhttpport transparent
http_port 192.168.1.101:80 name=apihttpport transparent
http_port 192.168.1.102:80 name=adminhttpport transparent
https_port 192.168.1.100:443 cert=2048.crt key=2048.key name=wwwhttpsport 
transparent
https_port 192.168.1.101:443 cert=2048.crt key=2048.key name=apihttpsport 
transparent
https_port 192.168.1.102:443 cert=2048.crt key=2048.key name=adminhttpsport 
transparent

Best,
Steven

Reply via email to