Configure reverse proxy for multiple Intranet web servers with squid in centos 6.4

Source: Internet
Author: User
Tags gopher
Http_port 80 accel vportvisible_hostname bogoncache_mem 128 running 2048 running lrucache_dir ufs/usr/local/squid/var/Cache/squid 512 16 256access_log/usr/local/squid/var/logs/Access. logcache_log/usr/local/squid/var/logs/cache. logmax_open _disk_fds 0minimum_object_size 0 kbmaximum_object_size 32768 kb # logformat combined %> A % UI % UN [% TL] "% RM % Ru HTTP/% RV" % hs % <ST "% {Referer}> H "" % {User-Agent}> H "% SS: % shcache_peer 192.168.20.17 parent 80 0 no-query no-digest originserver name = oacache_peer 10.19.113.3 parent 80 0 no-query no-digest originserver name = Ob # source web server that requires reverse proxy, you can add multiple source Web servers. If there is only one source web server, you can add multiple cache_peer_domain OA oa.xxx.com. export ob servers # If there is only one source web server, there can be no export allow route using nobodycache_mgr zifu.199s0@163.com # refresh_pattern ^ ftp: 60 20% 10080 # refresh_pattern ^ gopher: 60 0% # refresh_pattern ^ gopher: 60 0% 1440 # refresh_pattern. 0 20% 1440refresh_pattern-I \. CSS $360 50% 2880refresh_pattern-I \. JS $1440 50% 2880refresh_pattern-I \. HTML $720 50% 1440refresh_pattern-I \. JPG $1440 90% 2880refresh_pattern-I \. GIF $1440 90% 2880refresh_pattern-I \. SWF $1440 90% 2880refresh_pattern-I \. JPG $1440 50% 2880refresh_pattern-I \. PNG $1440 50% 2880refresh_pattern-I \. BMP $1440 50% 2880refresh_pattern-I \. doc $1440 50% 2880refresh_pattern-I \. PPT $1440 50% 2880refresh_pattern-I \. XLS $1440 50% 2880refresh_pattern-I \. PDF $1440 50% 2880refresh_pattern-I \. RAR $1440 50% 2880refresh_pattern-I \. zip $1440 50% 2880refresh_pattern-I \.. txt $1440 50% 2880

 

In Linux, configure reverse proxy to implement one public IP proxy for multiple Intranet web servers.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.