CentOS 6
Sponsored Link

Configure as a Reverse Proxy2014/08/12

Configure Squid as a reverse proxy server.
[1] Configure Squid.
[root@prox ~]#
vi /etc/squid/squid.conf
# near line 59: add ( allow all http access )

http_access allow all

http_access deny all
# line 62: specify backend Web server's IP address

80 defaultsite=
# add to the end

cache_peer parent 80 0 no-query originserver
# memory cache size

cache_mem 256 MB
# define hostname

visible_hostname prox.srv.world
[root@prox ~]#
/etc/rc.d/init.d/squid restart

Stopping squid: ................             [  OK  ]
Starting squid: .                            [  OK  ]
[2] Change settings of DNS or Routers in your LAN if need to listen HTTP access on Squid, then try to access to Squid Reverse Proxy Server from a ClientPC with Web browser like follows.
Matched Content