# Nginx-ingress-controller set large\_client\_header\_buffers

**URL:** <https://forums.suse.com/t/nginx-ingress-controller-set-large-client-header-buffers/11145>\
**Category:** SUSE Rancher Prime\
**Created:** [July 17, 2018, 10:03am UTC](https://forums.suse.com/t/nginx-ingress-controller-set-large-client-header-buffers/11145 "2018-07-17T10:03:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skoenig](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@skoenig](https://forums.suse.com/u/skoenig)\
**Post date:** [July 17, 2018, 10:03am UTC](https://forums.suse.com/t/nginx-ingress-controller-set-large-client-header-buffers/11145/1 "2018-07-17T10:03:28Z")

</div>

Hi,  
anyone who can help me with setting the large\_client\_header\_buffers-parameter to the NGINX-Config of nginx-ingress-controller inside ingress-nginx namespace?  
I already tried with annotations and data in the ConfigMap nginx-configuration, but it is not applied.  
The config itself seems to be reloaded, but the parameter is not updated.

I used this documentation: [https://github.com/nginxinc/kubernetes-ingress/tree/master/examples/customization](https://github.com/nginxinc/kubernetes-ingress/tree/master/examples/customization)

My ConfigMap looks like this:

```
apiVersion: v1
kind: ConfigMap
data:
  large_client_header_buffers: "4 128k"
metadata:
  annotations:
kubectl.kubernetes.io/last-applied-configuration: |
  {"apiVersion":"v1","data":null,"kind":"ConfigMap","metadata":{"annotations":{},"labels":{"app":"ingress-nginx"},"name":"nginx-configuration","namespace":"ingress-nginx"}}
  creationTimestamp: 2018-05-04T11:48:09Z
  labels:
app: ingress-nginx
  name: nginx-configuration
  namespace: ingress-nginx
  resourceVersion: "24674828"
  selfLink: /api/v1/namespaces/ingress-nginx/configmaps/nginx-configuration
  uid: 04695351-4f91-11e8-8a97-005056874968

```

When I check the nginx-ingress-controller-Pod-Logs it says:  
2018-07-17T09:52:55.758465395Z I0717 09:52:55.758221 8 controller.go:171] backend reload required  
2018-07-17T09:52:55.90571432Z I0717 09:52:55.905461 8 controller.go:180] ingress backend successfully reloaded…

And a check of the config inside one of those Pods shows, the large\_client\_header\_buffers-Parameter is still at the default value:  
~# kubectl exec -n ingress-nginx -it nginx-ingress-controller-542q2 – cat /etc/nginx/nginx.conf | grep large\_client  
large\_client\_header\_buffers 4 8k;

I also tried with annotations directly one one of those Pods and in the ConfigMap, but I don’t get large\_client\_header\_buffers-Parameter updated.

Can anyone help please?

THX,  
Steven

---

<div class="post-metadata">

**Author:** ![tk79](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tk79/32/4997_2.png) [@tk79](https://forums.suse.com/u/tk79)\
**Post date:** [February 26, 2019, 5:28pm UTC](https://forums.suse.com/t/nginx-ingress-controller-set-large-client-header-buffers/11145/2 "2019-02-26T17:28:42Z")

</div>

Good luck with this, we are still seeing the issue where we setup a config map at the System level for the ingress controller workload, reload all the pods, and nginx.conf still doesnt get updated. I’ve read that people have recreated their clusters and then all of the sudden it starts working. Im still digging.

Good luck.

---

<div class="post-metadata">

**Author:** ![hknkrt](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/hknkrt/32/4968_2.png) [@hknkrt](https://forums.suse.com/u/hknkrt)\
**Post date:** [March 25, 2019, 2:03pm UTC](https://forums.suse.com/t/nginx-ingress-controller-set-large-client-header-buffers/11145/3 "2019-03-25T14:03:03Z")

</div>

Could you try using kebap case instead of snake case

> large-client-header-buffers

A list of possible config map options may be found here:  
[https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#large-client-header-buffers](https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#large-client-header-buffers)
