Skip to content

Security Edge Inline NGINX Overrides

Security Edge Inline supports overriding NGINX directives at the host (server) and location levels. These overrides let you fine-tune performance and request handling for your application.

Unsupported directives

If you require additional directives not suppported by default, contact support@wallarm.com.

Server-level directives

The following NGINX directives can be customized for each host (server block):

Directive Description Default
proxy_buffer_size Buffer size for reading the first part of the response. More details 8k
proxy_buffers Number and size of buffers for a response. More details 8 8k
proxy_busy_buffers_size Max size of buffers for busy connections. More details 8k
proxy_read_timeout Timeout for reading response from the origin server. More details 60s
proxy_request_buffering Enable/disable buffering of request body. More details on
proxy_send_timeout Timeout for transmitting request to the origin. More details 60s
client_max_body_size Maximum request body size. More details 1m
large_client_header_buffers Number and size of buffers for large headers. More details 4 8k
proxy_ssl_name and proxy_ssl_server_name Allows to pass the host name through TLS SNI when connecting to the origin via HTTPS. More details

Controlled by the Proxy SSL server name checkbox in host settings. If enabled:
proxy_ssl_server_name on;
proxy_ssl_name $http_host;
$proxy_host and off correspondingly

Location-level directives

The following NGINX directives can be customized for each location:

Directive Description Default
proxy_buffer_size Buffer size for reading the first part of the response. More details 8k
proxy_buffers Number and size of buffers for a response. More details 8 8k
proxy_busy_buffers_size Max size of buffers for busy connections. More details 8k
proxy_read_timeout Timeout for reading response from the origin server. More details 60s
proxy_request_buffering Enable/disable buffering of request body. More details on
proxy_send_timeout Timeout for transmitting request to the origin. More details 60s
client_max_body_size Maximum request body size. More details 1m