亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    修改nginx上傳文件大小配置

    修改nginx上傳文件大小配置

    根據(jù)官方文檔說明,可以在nginx配置文件中http、server、location等配置塊添加配置,client_max_body_size size;來調(diào)整允許的客戶端上傳文件的body大小。設(shè)置為0,表示不限制。

    (推薦教程:nginx使用教程)

    nginx默認(rèn)的客戶端body大小為1M。

    具體配置如下:

    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; 	.... 	}

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號