E.2. mod_proxy_cluster的代理和代理发现配置属性
下表包含 mod_proxy_cluster
的代理和代理发现配置属性的属性和信息。
属性 | 属性 | 默认值 |
---|---|---|
proxy-list |
| |
proxy-url |
| |
advertise |
| true |
advertise-security-key |
| |
excluded-contexts |
| |
auto-enable-contexts |
| true |
stop-context-timeout |
| 10 秒(以秒为单位) |
socket-timeout |
| 20 秒(以毫秒为单位) |
如果没有定义 nodeTimeout
,则使用 ProxyTimeout
指令 Proxy
。如果没有定义 ProxyTimeout
,则使用服务器超时(Timeout
)(默认为 JBCS httpd.conf 中的120 秒)。nodeTimeout
, ProxyTimeout
, 和 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 |
|