Nginx 的文件上传时支持进度显示的扩展模块

jopen 10年前

nginx-upload-progress-module 是 Nginx 的文件上传时支持进度显示的扩展模块。

Configuration Example:  +++++++++++++++++++++    http {            # reserve 1MB under the name 'proxied' to track uploads      upload_progress proxied 1m;      server {          listen       127.0.0.1 default;          server_name  _ *;                    root /path/to/root;                    location / {              # proxy to upstream server              proxy_pass http://127.0.0.1;              proxy_redirect default;                            # track uploads in the 'proxied' zone              # remember connections for 30s after they finished              track_uploads proxied 30s;          }                    location ^~ /progress {              # report uploads tracked in the 'proxied' zone              report_uploads proxied;          }  }      

项目主页:http://www.open-open.com/lib/view/home/1387805578656