K8S Nginx Ingress Controller client_max_body_size 上传文件大小限制
现象k8s集群中,上传图片时,大于1M就会报错413RequestEntityTooLargeNginxIngressController的版本是0.29.0解决方案1.修改configmapkubectleditconfigmapnginx-configuration-ningress-nginx在ConfigMap的data字段中设置参数:data:proxy-body-size:"30m"示