Nginx常用 Nginx命令nginx启动 Nginx配置nginx请求缓存最大值 Nginx命令 nginx启动 进入nginx安装目录 sbin/nginx -s reload Nginx配置 打开nginx.conf nginx请求缓存最大值 转发文件过大或者请求报文过大时,会被拦截 报错日志如下 client intended to send too large body 需调整如下配置 http{ #配置请求缓存最大值 上传文件过大需要放大 client_max_body_size 20M }