nginx-ingress controller wordpress big files upload issue

Solution:1

Add the following annotation to your Ingres controller to increase the body size.

nginx.ingress.kubernetes.io/proxy-body-size: 128m

Solution:2

Apparently, the culprit is nginx.org/client-max-body-size: "50m"

If the size in a request exceeds the configured value, the 413 (Request Entity Too Large) error is returned to the client. Please be aware that browsers cannot correctly display this error. Setting size to 0 disables checking of client request body size – nginx.org/client-max-body-size: "0"