nginx-gateway-fabric icon indicating copy to clipboard operation
nginx-gateway-fabric copied to clipboard

NGINX Proxy Buffer Configuration

Open mpstefan opened this issue 1 year ago • 8 comments
trafficstars

As a user of NGF I want to configure NGINX's proxy buffer configuration for my applications So that when any part of my request exceeds the needed proxy buffer I can increase the limit to support my traffic.

Acceptance

  • NGINX directives:

    • proxy_buffer_size
    • proxy_buffers
    • proxy_buffering
    • proxy_busy_buffers_size
  • The NGINX Extensions design is reviewed to implement the above directives.

  • The above directives are configurable via a NginxProxyConfigPolicy for the scope it is applied at.

  • The NginxProxyConfigPolicy can be attached to a Gateway or Route.

Feedback

  • Needed for https://github.com/nginxinc/nginx-gateway-fabric/discussions/2111

mpstefan avatar Dec 15 '23 20:12 mpstefan

Are there any additional directives we want to look at to include in proxy buffer configuration? What policy should proxy buffer configuration be a part of?

mpstefan avatar Dec 15 '23 21:12 mpstefan

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Feb 06 '24 02:02 github-actions[bot]

From NGINX community slack https://nginxcommunity.slack.com/archives/C03SXACMUBE/p1708990162329589 , there is also a related large_client_header_buffers directive -- https://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers

pleshakov avatar Feb 29 '24 15:02 pleshakov

Can confirm we also need large_client_header_buffers as well.

This is blocking our adoption of ngf.

uptickmetachu avatar Jul 03 '24 07:07 uptickmetachu

Just a quick update to this issue: we still plan to implement these as "first-class" configurations via an extension of the Gateway API, but you will soon be able to implement these via snippets as proposed here. This customization will be available in NGF 1.5 which is planned to release around the beginning of November.

mpstefan avatar Aug 07 '24 19:08 mpstefan