Location url start with modifier, nginx -t pass the configuration test

linbo liao llbgurs at gmail.com
Fri Feb 10 05:31:34 UTC 2017


Hi,

I setup an test Nginx 1.10.3 on local VM (Centos 6.7 x86_64). I configure
the following location

location =/404.html {
    root    /usr/share/nginx/html;
}

As my understanding, it is not an valid url, but `nginx -t`  pass the
configuration test.

Is it a bug ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170210/61ab177c/attachment.html>


More information about the nginx mailing list