-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NGINX Proxy Buffer Configuration #1398
Comments
Are there any additional directives we want to look at to include in proxy buffer configuration? |
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. |
From NGINX community slack https://nginxcommunity.slack.com/archives/C03SXACMUBE/p1708990162329589 , |
Can confirm we also need This is blocking our adoption of ngf. |
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. |
There is no easy way to add `proxy_buffer_size` or similar parameters to Nginx via CRD. A feature for the same is being worked on and might be released early November per [nginxinc/nginx-gateway-fabric/#1398](nginx/nginx-gateway-fabric#1398 (comment)). As a workaround, this change includes the default nginx configuration as deployed in the current version of nginx gateway fabric. It will be made available to the nginx pod at `/etc/nginx/nginx.conf` by supplanting the nginx-gateway deployment with a kustomize patch that overrides `nginx.conf` via a mounted configMap volume containing said file. Several additional parameters, `proxy_buffer_size` and `proxy_buffers` are being included at this time, to account for some large header payloads being proxied from Gnocchi.
There is no easy way to add `proxy_buffer_size` or similar parameters to Nginx via CRD. A feature for the same is being worked on and might be released early November per nginx/nginx-gateway-fabric#1398 (comment) As a workaround, this change includes the default nginx configuration as deployed in the current version of nginx gateway fabric. It will be made available to the nginx pod at `/etc/nginx/nginx.conf` by supplanting the nginx-gateway deployment with a kustomize patch that overrides `nginx.conf` via a mounted configMap volume containing said file. Several additional parameters, `proxy_buffer_size` and `proxy_buffers` are being included at this time, to account for some large header payloads being proxied from Gnocchi.
There is no easy way to add `proxy_buffer_size` or similar parameters to Nginx via CRD. A feature for the same is being worked on and might be released early November per nginx/nginx-gateway-fabric#1398 (comment) As a workaround, this change includes the default nginx configuration as deployed in the current version of nginx gateway fabric. It will be made available to the nginx pod at `/etc/nginx/nginx.conf` by supplanting the nginx-gateway deployment with a kustomize patch that overrides `nginx.conf` via a mounted configMap volume containing said file. Several additional parameters, `proxy_buffer_size` and `proxy_buffers` are being included at this time, to account for some large header payloads being proxied from Gnocchi.
* fix(gatewayapi): allow custom nginx.conf There is no easy way to add `proxy_buffer_size` or similar parameters to Nginx via CRD. A feature for the same is being worked on and might be released early November per nginx/nginx-gateway-fabric#1398 (comment) As a workaround, this change includes the default nginx configuration as deployed in the current version of nginx gateway fabric. It will be made available to the nginx pod at `/etc/nginx/nginx.conf` by supplanting the nginx-gateway deployment with a kustomize patch that overrides `nginx.conf` via a mounted configMap volume containing said file. Several additional parameters, `proxy_buffer_size` and `proxy_buffers` are being included at this time, to account for some large header payloads being proxied from Gnocchi. * docs(gatewayapi): include base kustomize overlay
SnippetsFilter API should hopefully be useful to configure these settings for now until we support the native policy for buffer settings. |
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:
The NGINX Extensions design is reviewed to implement the above directives.
The above directives are configurable via a ProxySettingsPolicy for the scope it is applied at.
The ProxySettingsPolicy can be attached to a Gateway or Route.
Feedback
The text was updated successfully, but these errors were encountered: