红联Linux门户
Linux帮助

Nginx 1.13.4发布,新增ngx_http_mirror_module模块

发布时间:2017-08-09 09:12:14来源:红联作者:baihuo
Nginx 1.13.4 已发布,有以下的更新:

1.13.4 中的 ngx_http_mirror_module 模块通过创建后台镜像子请求实现了原始请求的镜像。镜像子请求的输出会被忽略。

配置示例[code]location / {
mirror /mirror;
proxy_pass http://backend;
}

location /mirror {
internal;
proxy_pass http://test_backend$request_uri;
}

Directives
Syntax: mirror uri | off;
Default: mirror off;
Context: http, server, location[/code]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.

下载地址:http://nginx.org/en/download.html

来自:开源中国社区
文章评论

共有 0 条评论