try_files breaking index

Marcos Neves marcos.neves at
Fri Dec 11 05:56:11 MSK 2009

I can access my site using /index.php?q=node/1 or /?q=node/1

When I add the code below, /?q=node/1 stop working:

    location / {
      index index.php index.htm index.html;
      try_files $uri /_cache$uri /index.php;


Marcos Neves
+55 44 9918-8488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list