Search squid archive

Re: Configuring a Basic Reverse Proxy (Website Accelerator)

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

 



Adam@Gmail wrote:
Hi All,

I have a question I just want to make sure that I understand this configuration.
Assuming I am configuring just one backend webservers and one website:

 From this link:
http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerator

Does this mean
http_port 80 accel defaultsite=your.main.website.namehttp_port 80 (port of the back-end webserver)?Defaultsite= (should it be like this) defaultsite=www.mydomain.org or defaultsite=mydomain.org or defaultsite=the_name_of_the_folder_where_the_website_is_located?My next

It's just the domain name visitors will use to get the website.
It's only used to 'fix' broken client who fail to send a domain name in their requests.
Which domain to use is up to you.

question is for thiscache_peer ip.of.webserver parent 80 0 no-query originserver name=myAccelOk this is what I understoodExample:cache_peer 192.168.1.3 parent 80 0 no-query originserver name=myAccelbut what value will "myAccel" be holding for instance, the name of my website? or it's IP address what is it exactly?

It's a label. Only used in the squid.conf file to represent that peer.

My final question isacl our_sites dstdomain your.main.website.name
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny allok maybe the first line should beacl our_sites dstdomain www.mydomain.org is this correct?And then the rest

Yes. A list of all the websites you are serving through this Squid to that peer. Wildcard sub-domains by starting with a dot for example: .example.com

is straightforwardCan anyone help me please, I am a bit confused with thisAny help would be very much appreciated


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
  Current Beta Squid 3.1.0.18

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

  Powered by Linux