Skip to content

System Settings

To fine-tune system API Firewall settings, use the following optional environment variables:

Environment variable Description
APIFW_READ_TIMEOUT The timeout for API Firewall to read the full request (including the body) sent to the application URL. The default value is 5s.
APIFW_WRITE_TIMEOUT The timeout for API Firewall to return the response to the request sent to the application URL. The default value is 5s.
APIFW_SERVER_MAX_CONNS_PER_HOST
(for PROXY and graphql modes)
The maximum number of connections that API Firewall can handle simultaneously. The default value is 512.
APIFW_SERVER_READ_TIMEOUT
(for PROXY and graphql modes)
The timeout for API Firewall to read the full response (including the body) returned to the request by the application. The default value is 5s.
APIFW_SERVER_WRITE_TIMEOUT
(for PROXY and graphql modes)
The timeout for API Firewall to write the full request (including the body) to the application. The default value is 5s.
APIFW_SERVER_DIAL_TIMEOUT
(for PROXY and graphql modes)
The timeout for API Firewall to connect to the application. The default value is 200ms.
APIFW_SERVER_CLIENT_POOL_CAPACITY
(for PROXY and graphql modes)
Maximum number of the fasthttp clients. The default value is 1000.
APIFW_HEALTH_HOST The host of the health check service. The default value is 0.0.0.0:9667. The liveness probe service path is /v1/liveness and the readiness service path is /v1/readiness.