利用nginx_upload_module搭建http文件服务器

服务端主要就是用的nginx-upload-module和nginx-fancyindex两个nginx模块做接收,然后python后端做处理
然后客户端的编写分为两部分,一部分是python客户端,用的requests库,另一部分是web客户端,用的是Huploadify框架

结果大致如下:

大致画一下前后端结构

client.py --> nginx-upload-module(temp) -->python module

nginx-upload-page --> nginx-upload-module(temp) ---> python module
详情比较简单,不细述.

源代码git地址:
https://github.com/calmkart/nginx_upload
https://github.com/calmkart/nginx_upload_page

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注