Nginx `location /` does not match `/some_path`
<p>Help me pls to configure nginx: I want nginx return <code>index.html</code> for all URLs like <code>10.10.256.142/</code>, <code>10.10.256.142/some_path</code> and <code>10.10.256.142/other_path/lala</code>. Problem: currently it returns <code>index.html</code>only for <code>10.10.256.142/</code> URL.</p>

<p>My current settings</p>

<pre><code>listen 80;
server_name  10.10.256.142; 
server_name_in_redirect  off;
resolver  127.0.0.1;

location / {
    error_page 405 =200 $uri;
    root   /some_path/project_dir;
    index  index.html index.htm;
}

location /websocket {
    # ....
</code></pre>