Bài đăng phổ biến

Monday, November 7, 2022

Solved: [ kubernetes ] client intended to send too large body

To set client_max_body_size in ingress-nginx-controller you must add more this line to yaml file like that: 

kind: Ingress
  annotations: "20m"


1. 20m ~ 20MB and no need restart nginx pod .
2. some template yaml have added this line to annotations : "<valuem>" but it is not enough you must add this line : there is nginx in the first line .

No comments:

Post a Comment

Thanks for your join,we will be reply to you asap.