This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
apache:forward_proxy [2016/05/22 09:41] – cbredi | apache:forward_proxy [2016/05/24 07:29] – cbredi | ||
---|---|---|---|
Line 2: | Line 2: | ||
Creates a forward proxy ([[http:// | Creates a forward proxy ([[http:// | ||
- | Proved to be faster than squid 3.5 on the same hardware. | + | Proved to be faster than squid 3.5 on the same hardware |
Make sure you have a local DNS caching resolver, such as [[https:// | Make sure you have a local DNS caching resolver, such as [[https:// | ||
Line 8: | Line 8: | ||
ProxyDomain directive protects the proxy from accessing domain hosts by filling up the local domain name or search domains from / | ProxyDomain directive protects the proxy from accessing domain hosts by filling up the local domain name or search domains from / | ||
- | Apache httpd mod_reqtimeout drops some long lived https connections in its default configuration (RequestReadTimeout header=20-40, | + | Apache httpd [[https:// |
- | + | ||
- | No caching is performed in this setup but it can be implemented using httpd [[https:// | + | |
Required modules: [[https:// | Required modules: [[https:// | ||
Line 30: | Line 28: | ||
Require ip 172.16.0.0/ | Require ip 172.16.0.0/ | ||
</ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | No caching is performed in this setup but it can be implemented using httpd [[https:// | ||
+ | |||
+ | To enable disk caching: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | ... | ||
+ | < | ||
+ | CacheRoot "/ | ||
+ | CacheEnable disk http:// | ||
+ | CacheEnable disk ftp:// | ||
+ | </ | ||
+ | ... | ||
</ | </ | ||
</ | </ |