L81


keepalive 描述 多個http請求可以復用Tcp鏈接
- 減少握手次數
- 通過減少並發連接數減少服務器資源消耗
- 降低Tcp擁塞控制影響
| Syntax: | keepalive_disable |
|---|---|
| Default: | keepalive_disable msie6; |
| Context: | http, server, location |
| Syntax: |
|
|---|---|
| Default: | keepalive_timeout 75s; |
| Context: | http, server, location |
| Syntax: | keepalive_requests |
|---|---|
| Default: | keepalive_requests 100; |
| Context: | http, server, location |
