发布时间: 浏览次数:2788次
Nginx 1.13.4 已发布,有以下的更新:
1.13.4 中的 ngx_http_mirror_module
模块通过创建后台镜像子请求实现了原始请求的镜像。镜像子请求的输出会被忽略。
location / { mirror /mirror; proxy_pass http://backend; } location /mirror { internal; proxy_pass http://test_backend$request_uri; }
Syntax: |
mirror
|
---|---|
Default: |
mirror off; |
Context: |
http , server , location
|
1.13.4 更新内容:
Feature: the ngx_http_mirror_module.
Bugfix: client connections might be dropped during configuration testing when using the "reuseport" parameter of the "listen" directive on Linux.
Bugfix: request body might not be available in subrequests if it was saved to a file and proxying was used.
Bugfix: cleaning cache based on the "max_size" parameter did not work on Windows.
Bugfix: any shared memory allocation required 4096 bytes on Windows.
Bugfix: nginx worker might be terminated abnormally when using the "zone" directive inside the "upstream" block on Windows.