[squid-users] reverse proxy with different ports

From: <[email protected]>
Date: Tue, 9 Sep 2003 18:58:54 +1100

Hello,

I have a question about accel mode special configuration...
Is it possible to have this configuration with SQUID3-PRE3 :

User -----[https on port 1443]-----> Reverse Proxy ------[http on port
80]------> Original server
User -----[https on port 2443]-----> Reverse Proxy ------[http on port
81]------> Original server

Both links through the same Squid ?
Should I write a special redirector ?

If it's too hard, I could work with this other configuration :

User -----[https on port 1443 to virtual server name1]-----> Reverse Proxy
------[http on port 80]------> Original server
User -----[https on port 1443 to virtual server name2]-----> Reverse Proxy
------[http on port 81]------> Original server

I've tried the following squid.conf with SQUID3-PRE3 but it doesn't work :
---------
https_port 1443 defaultsite=original-site cert=rproxy.cert key=rproxy.key
cache_peer 192.168.x.x parent 80 0 no-query originserver
name=virtualservname1.mydomain
cache_peer 192.168.x.x parent 81 0 no-query originserver
name=virtualservname2.mydomain
acl http1 port 80
acl http2 port 81
cache_peer_access virtualservname1.mydomain allow http1
cache_peer_access virtualservname1.mydomain allow http2
---------
IP of virtualservname1.mydomain = IP of virtualservname2.mydomain = IP of
the reverse proxy.
---------
Whatever virtual server name I use
(https://virtualservname2.mydomain:1443), I access the same site on
original server port 80.
Could you tell me where I'm wrong ?

Regards,
Laurent Derrien
Received on Tue Sep 09 2003 - 01:58:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:36 MST