1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Nginx 1.13.4 发布,新增 ngx_http_mirror_module 模块 下载

Discussion in '软件资讯' started by 漂亮的石头, 2017-08-09.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    488,019
    Likes Received:
    47
    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: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.

    下载地址
    Nginx 1.13.4 发布,新增 ngx_http_mirror_module 模块下载地址
     
Loading...