Defaults
Current default values in Gateway.
These are the current defaults. They may change before release, and the interface reference will list which values you can change.
Current defaults
| Area | Setting | Default |
|---|---|---|
| Balancing | Strategy | Round robin |
| Balancing | Server weight | 1 |
| Failures | Consecutive failures before a server is taken out | 3 |
| Failures | Time out of rotation | 30 seconds |
| Health checks | Interval / probe timeout | 5 s / 2 s |
| Health checks | Path / expected status | /health / 200 |
| Health checks | Healthy / unhealthy threshold | 2 / 3 |
| Connections | Maximum connections per target group | 64 |
| Connections | Maximum idle connections | 16 |
| Connections | Idle connection timeout | 60 seconds |
| Timeouts | Connect / send / read / total limit for retries | 5 s / 30 s / 60 s / 120 s |
| Retries | Retries / status codes | 1 / 502, 503, 504 |
| Retries | Methods retried on a status code | GET, HEAD, OPTIONS, QUERY (other methods can be retried after a connection or response failure; see Reliability) |
| Responses | Maximum response size | 32 MB |
| Headers | Forwarding headers / preserve host | On / Off |