Squid 配置指令 forwarded_for
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | forwarded_for |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | forwarded_for on |
| 建议配置 |
|
If set to "on", Squid will append your client's IP address in the HTTP requests it forwards. By default it looks like: X-Forwarded-For: 192.1.2.3 If set to "off", it will appear as X-Forwarded-For: unknown If set to "transparent", Squid will not alter the X-Forwarded-For header in any way. If set to "delete", Squid will delete the entire X-Forwarded-For header. If set to "truncate", Squid will remove all existing X-Forwarded-For entries, and place the client IP as the sole entry. |
|
