]> git.kaiwu.me - nginx.git/commit
Referer: "server_names" parsing deferred to merge phase.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 29 Aug 2013 18:35:27 +0000 (22:35 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 29 Aug 2013 18:35:27 +0000 (22:35 +0400)
commite4209c02695eeff839d8e7aa807b62fe502bb4e8
treeddbdffc6a1f2616488e8f2944c4cc2dbb6f3d581
parent8658c5b8a11c2155e66e1bd1c322099f672f7c15
Referer: "server_names" parsing deferred to merge phase.

This allows to approach "server_name" values specified below the
"valid_referers" directive when used within the "server_names" parameter, e.g.:

    server_name  example.org;
    valid_referers server_names;
    server_name  example.com;

As a bonus, this fixes bogus error with "server_names" specified several times.
src/http/modules/ngx_http_referer_module.c