设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Nginx 1.13.4发布,新增ngx_http_mirror_module模块

2017-8-9 23:27| 发布者: joejoe0332| 查看: 1254| 评论: 0|原作者: oschina|来自: oschina

摘要: Nginx 1.13.4 已发布,有以下的更新:1.13.4 中的ngx_http_mirror_module模块通过创建后台镜像子请求实现了原始请求的镜像。镜像子请求的输出会被忽略。配置示例location/{ mirror/mirror; proxy_passhttp://backend ...

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;
}

Directives

Syntax:mirror uri | off;
Default:
mirror off;
Context:httpserverlocation

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.

下载地址


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部