In ngx_http_core_try_files_phase (ngx_http_core_module.c) I can see how $uri $uri/ =404 are handled, but for example in; try_files /test.html $uri $uri/ =404; where(or how) is /test.html handled? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246577,246577#msg-246577