修改nginx上传文件大小配置


当前第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》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...