This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apache:forward_proxy [2016/05/22 09:41] – cbredi | apache:forward_proxy [2018/04/08 11:59] (current) – 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 32: | Line 30: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | 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:// | ||
| + | </ | ||
| + | ... | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Couldn' | ||