NGINX upload progress tracking module
10 — 所有核心与模块指令——语法、默认值、上下文与真实配置示例。
report_uploads
'report_uploads' 指令允许 NGINX 在文件上传过程中向客户端提供实时的上传进度更新。
httpserverlocation
track_uploads
`track_uploads` 指令可在指定的 location 中使用共享内存区域来跟踪 POST 请求的上传进度。
httpserverlocation
upload_progress
'upload_progress' 指令在 NGINX 中跟踪文件上传的进度,允许客户端监控其上传状态。
http
upload_progress_content_type
`upload_progress_content_type` 指令在 NGINX 中设置上传进度响应的内容类型。
httpserverlocation
upload_progress_header
upload_progress_header 指令设置用于报告上传进度的 HTTP 头的名称。
httpserverlocation
upload_progress_java_output
`upload_progress_java_output` 指令将 NGINX 配置为以与 Java 兼容的格式提供上传进度通知。
httpserverlocation
upload_progress_json_output
指令 `upload_progress_json_output` 可启用以 JSON 格式输出上传进度信息。
httpserverlocation
upload_progress_jsonp_output
指令 `upload_progress_jsonp_output` 在 NGINX 中为上传进度响应启用 JSONP 支持。
httpserverlocation
upload_progress_jsonp_parameter
指令 `upload_progress_jsonp_parameter` 指定用于以 JSONP 格式返回上传进度信息的 JSONP 参数名称。
httpserverlocation
upload_progress_template
`upload_progress_template` 指令在 NGINX 中定义了用于上报上传进度数据的模板。
httpserverlocation