Squid 配置指令 neighbor_type_domain
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | neighbor_type_domain |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | 来自 cache_peer 指令的对等体类型用于发往该对等体的所有请求。 |
| 建议配置 |
|
Modify the cache_peer neighbor type when passing requests about specific domains to the peer. Usage: neighbor_type_domain peer-name parent|sibling domain... For the required peer-name parameter, use either the value of the cache_peer name=value parameter or, if name=value is missing, the cache_peer hostname parameter. For example: cache_peer foo.example.com parent 3128 3130 neighbor_type_domain foo.example.com sibling .au .de The above configuration treats all requests to foo.example.com as a parent proxy unless the request is for a .au or .de ccTLD domain name. |
|
