We have deployed our microservices in the k8 cluster and we have also configured ingress resources for them as we are accessing it from outside of k8 cluster. When we make a request with size larger then 2900 character we get back an: error code 414: uri too large. We searched on the internet and found about nginx settings which can help us in solving this problem
Syntax: large_client_header_buffers number size ;
Default: large_client_header_buffers 4 8k;
Context: http, server
Since we are using nginx ingress, We checked the documentation on ingress-nginx online resource but could not find corresponding settings. Can somebody help with this?
Use this page for all nginx-ingress config.
Add the values in the ConfigMap
and they will get picked up automatically.
The exact value you are looking for is: large-client-header-buffers