413 error with Kubernetes and Nginx ingress controller

后端 未结 5 648
余生分开走
余生分开走 2020-12-30 01:01

I\'m trying to change the client_max_body_size value, so my nginx ingress will not return 413 error.

I\'ve tested few solutions.
Here is my test c

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 01:25

    To set it globally, this configmap.md documentation might be helpful. Turns out the variable to set is proxy-body-size, not client-max-body-size.

    When you deploy the helm chart, you can set --set-string controller.config.proxy-body-size="4m".

提交回复
热议问题