利用Nginx的Upload模块实现无限制大文件上传

server { listen 80; server_name 1.server.xxx; index index.html index.htm index.php; root /web/vhosts/1.server.xxx/www; location = /upload.php { client_body_timeout 9999s; //最大允许的上传时间 client_max_body_size 300m; //最大上传大小 upload_pass @upload; upload_store /web/vhosts/1.server.xxx/protected/runtime/files...

read more..