背景:

场景:客户进行https的图表类报告报错,http的没问题,打开控制台发现有Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)的报错

解决方法:

需要将https的nginx配置的client_max_body_size字段改为1g或者更大的配置,默认是1M。改完后重启生效。