Squid 配置指令 wccp2_service
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | wccp2_service |
|---|---|
| 替代 | |
| 要求 | --enable-wccpv2 |
| 默认值 | 使用 'web-cache' 标准服务。 |
| 建议配置 |
|
WCCP2 allows for multiple traffic services. There are two types: "standard" and "dynamic". The standard type defines one service id - http (id 0). The dynamic service ids can be from 51 to 255 inclusive. In order to use a dynamic service id one must define the type of traffic to be redirected; this is done using the wccp2_service_info option. The "standard" type does not require a wccp2_service_info option, just specifying the service id will suffice. MD5 service authentication can be enabled by adding "password=<password>" to the end of this service declaration. Examples: wccp2_service standard 0 # for the 'web-cache' standard service wccp2_service dynamic 80 # a dynamic service type which will be # fleshed out with subsequent options. wccp2_service standard 0 password=foo |
|
