Ingress-nginx: [nginx] Feature request: set client_body_buffer_size by annotation

Created on 7 Jun 2017  路  4Comments  路  Source: kubernetes/ingress-nginx

Hi guys

client_body_buffer_size can already be set in the global configuration but then it applies to all locations, which is great!
But it would be even better if this option could be set for individual ingresses (defined by annotations) so it is applies to specific location scopes.

This can already be done with some similar settings like ingress.kubernetes.io/proxy-body-size.

Kind regards
Simon

help wanted nginx

All 4 comments

client_body_buffer_size can be applied to http, server, location. The annotation can look as follows:

  1. ingress.kubernetes.io/proxy-body-size: <host>:<size>
  2. ingress.kubernetes.io/proxy-body-size: <host>:<location>:<size>
  3. It can also delimit by ; for multiple locations within one ingress file.

This will support most relevant cases.
@Platzii @aledbf Let me know your suggestions and I can pickup this task (Assign me if you can).

I appreciate your time.

@aledbf @diazjf anyone process for this issue? if not, i can help for fix this. thanks

@diazjf this should be just ingress.kubernetes.io/proxy-body-size: <size>. The host and location should come from the ingress

@Platzii @aledbf PR started right here: https://github.com/kubernetes/ingress/pull/1186

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cehoffman picture cehoffman  路  3Comments

smeruelo picture smeruelo  路  3Comments

geek876 picture geek876  路  3Comments

boazj picture boazj  路  3Comments

yuyang0 picture yuyang0  路  3Comments