0

Nginx PHP 报错 413 Request Entity Too Large

monster created at6 years ago view count: 2770

怎么解决?客户端Gzip压缩下?

report
回复
0
neo #
when in doubt, use brute force

Nginx加

client_max_body_size 200m; client_body_buffer_size 10M; client_header_buffer_size 16k; large_client_header_buffers 4 64k;

PHP 修改

post_max_size = 2M upload_max_filesize = 2M

6 years ago 回复