- 论坛徽章:
- 0
|
对于squid来说,下面这两种request有什么区别呢?
surrogate requests and proxy requests
在字面上,surrogate和proxy都是“代理”、“代理人”的意思,但对于squid来说,这两种请求有什么不同呢?可能是英文不好,看得不太明白。
来源:
Oreilly.Squid.The.Definitive.Guide.eBook-DDU
15.2 Configuring Squid
- 15.2.7 httpd_accel_with_proxy
- By default, whenever you enable the httpd_accel_host directive, Squid goes into strict surrogate mode. That is, it refuses proxy HTTP requests and accepts only surrogate requests, as though it were truly an origin server. Squid also disables the ICP port (although not HTCP, if you have it enabled). If you want Squid to accept both surrogate and proxy requests, enable this directive:
- httpd_accel_with_proxy on
复制代码 |
|