nginx 上传模块
upload_pass /cgi-bin/upload;
upload_cleanup 400 404 499 500-505;
upload_store /tmp/mihttpd/.upload_tmp;
upload_store_access user:rw group:rw all:rw;
upload_max_file_size 0;
upload_limit_rate 0;
upload_set_form_field "nginx_file_name" $upload_file_name;
upload_set_form_field "nginx_file_content_type" $upload_content_type;
upload_set_form_field "nginx_file_path" $upload_tmp_path;
upload_aggregate_form_field "nginx_file_md5" $upload_file_md5;
upload_aggregate_form_field "nginx_file_size" $upload_file_size;
upload_pass_form_field "^(?!nginx_file)";
upload_pass_args on;
最后更新于 2020-04-23 16:36:50 并被添加「」标签,已有 2909 位童鞋阅读过。
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处