Linux 运维笔记-------------------------------Nginx 413 Request Entity Too Large 或者client intended to send too large body
Nginx报413错误
2019/08/02 14:29:02 [error] 14739#0: *338 client intended to send too large body: 1706992 bytes, client: 192.168.122.1, server: localhost, request: "POST /wp-admin/async-upload.php HTTP/1.1", host: "192.168.122.130:8090", referrer: "http://192.168.122.130:8090/wp-admin/media-new.php"
server{
# 添加
client_max_body_size 20m;
}

二 重启Nginx服务
nginx -s reload
问题解决。
浙公网安备 33010602011771号