This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apache:forward_proxy [2016/05/21 16:30] – cbredi | apache:forward_proxy [2018/04/08 11:59] (current) – cbredi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | [[**Apache 2.4 forward proxy**]] | + | **Apache |
| 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:// | ||
| + | |||
| + | ProxyDomain directive protects the proxy from accessing domain hosts by filling up the local domain name or search domains from / | ||
| + | |||
| + | Apache httpd [[https:// | ||
| + | |||
| + | Required modules: [[https:// | ||
| < | < | ||
| Line 24: | 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' | ||