解决WordPress上传媒体文件HTTP错误的问题

将以下代码加入 /usr/local/nginx/conf/nginx.conf 文件中的 http{ … } 块中:

然后nginx check和reload一下: