附录 E. mod_cluster 代理和代理发现配置属性
下表包含 mod_cluster 代理和代理发现配置属性的属性和信息。
| 属性 | 属性 | 默认值 |
|---|---|---|
| proxy-list |
| |
| proxy-url |
| |
| 公告 |
| true |
| advertise-security-key |
| |
| excluded-contexts |
| |
| auto-enable-contexts |
| true |
| stop-context-timeout |
| 10 秒(以秒为单位) |
| socket-timeout |
| 20 秒(以毫秒为单位) |
当未定义 nodeTimeout 时,会使用 指令 Proxy。如果没有定义 Proxy TimeoutProxyTimeout,则使用服务器超时(超时)(在 JBCS httpd.conf 中默认使用120 秒)。nodeTimeout、Proxy 和 Timeout 在套接字级别上设置。
Timeout
| 属性 | 属性 | 默认值 |
|---|---|---|
| sticky-session |
| true |
| sticky-session-remove |
| false |
| sticky-session-force |
| true |
| node-timeout |
| -1 |
| max-attempts |
| 1 |
| flush-packets |
| false |
| flush-wait |
| -1 |
| ping |
| 10(秒) |
| smax |
| -1(使用默认值) |
| ttl |
| -1(使用默认值) |
| domain |
| |
| load-balancing-group |
|