3 ms·
I don't mean to be blunt, but using if is not the way: http://wiki.nginx.org/IfIsEvil http://wiki.nginx.org/IfIsEvil Writing clean URLs is much easier with try
by manacit 12y ago
I don't mean to be blunt, but using if is not the way: http://wiki.nginx.org/IfIsEvil http://wiki.nginx.org/IfIsEvil
Writing clean URLs is much easier with try_files, which allows you to do something like
try_files $uri.html
If you don't want to see file extensions.