Fedora 14
Sponsored Link

Configure as a reverse proxy2010/11/11

  Configure Squid as a reverse proxy server. It is useful for improving server's performance or security.

[1] Configure Squid
[root@lan03 ~]#
vi /etc/squid/squid.conf


# near line 60: add (allow all http access)

http_access allow all


# line 64: specify Web server's IP address which listens requests

http_port
80 defaultsite=10.0.0.31


# line 71: add

cache_peer 10.0.0.31 parent 80 0 no-query originserver


[root@lan03 ~]#
/etc/rc.d/init.d/squid restart

Stopping squid:
[  OK  ]

Starting squid:
[  OK  ]
[2] Change Settings of DNS or router if needed, and access to verify settings.
 
Matched Content