location = / { root /usr/share/nginx/myhtml; index test.html; } location / { root /usr/share/nginx/html; index index.html; } when I request http://localhost, I get /usr/share/nginx/html/test.html,which is not exist,so I get 404 not found.by blitz - Other discussion