Search squid archive

RE: Proxy AND reverse proxy

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

 



tor 2007-06-07 klockan 09:53 +0200 skrev bret.jerome:
> My site run on port 80 on the 172.17.0.1
> But my proxy cache squid run on port 3128 on 192.168.150.1
> In my squid.conf, i have just this 2 lines : 
> http_port 3128    # for proxy cache
> http_port 3128 accel defaultsite=SITE    # for accelerator proxy
> 
> I don't understand what is the defaultsite... The IP address
> of the server ? the name of the server ?


You can't have two http_port with the exact same port (at least not
without also binding them to different IPs  on the server)

What I would expect your configuration to look like is something like
the following:

http_port 80 accel defaultsite=your.web.site

http_port 3128


This to make Squid act as a reverse proxy for your.web.site on port 80,
and a forward Internet proxy on port 3128.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux