文件上传示例 该示例的目的是为了学习文件上传,有基于 Nginx、Nginx + Lua、Nginx + PHP 等实现方法。 以下是 3 个普通上传的示例: 使用 HTML + PHP 实现的基本上传示例; 基于 OpenResty 的子模块 lua-resty-upload 实现的上传示例; 基于 Nginx C 扩展 nginx-upload-module 的上传示例; TODO 分片上传示例(支持断点续传); 可以参考 nginx-upload-module、tusd Repositories nginx-upload-module lua-resty-upload nginx-big-upload fileUploader resumable.js tusd jQuery-File-Upload References OpenResty OpenResty Reference nginx 1.5+ file upload — best practices