Hello, Maxim, thanks for reply. Now I understand better try_files directive and it really should be better described in documentation/wiki. At least is it supports server section and how. Hristoby iko - Nginx Mailing List - English
Hello, recently I migrate one of domains, I manage, to use try_files directive instead of several "if" blocks and rewrites. New server description is like this: server { listen X.X.X.X; server_name example.com *.example.com; index index.php; root /www/example.com/www/root; try_files $uri $uri/ /index.php$is_args$args; location ~* \.(jpg|jpeg|gif|png|ico|swf)by iko - Nginx Mailing List - English