Nginx: When the `index` and `try_files` in the same block, why the `try_files` will be processed, not the `index` directive?
<p>The nginx.conf is as following:   </p>

<pre><code>http {
    server {
        listen  8080;
        server_name example.com;             
        root /tmp/test/example;
        location / {
            index index.html;
            try_files $uri /test.html;
        }

    }
}
</code></pre>

<p>When I access <code>example.com:8080</code>, it accesses the <code>/tmp/test/example/test.html</code>, not the <code>index.html</code>.  </p>