Hacker News new | past | comments | ask | show | jobs | submit login

rather than: if (-f $request_filename)... you should use try_files

http://wiki.nginx.org/IfIsEvil

http://wiki.nginx.org/Pitfalls#Using_If




Thanks, it's a good point, I will update the post later.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: