当前第2页 返回上一页
具体配置如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 100m;
....
}
|
以上就是修改nginx上传文件大小配置的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
nginx的三种反向代理方式你都知道么
nginx客户端请求配置项有哪些
linux下nginx重启命令是什么?
nginx负载均衡原理怎么口述
tomcat有必要加nginx吗
nginx怎么配置负载均衡
nginx收费吗
nginx与tomcat区别有哪些?
nginx负载均衡有哪些实现方式
教你如何在linux中安装nginx服务器
更多相关阅读请进入《nginx》频道 >>
转载请注明出处:木庄网络博客 » 修改nginx上传文件大小配置