Try_files and location blocks

António P. P. Almeida appa at perusio.net
Fri Jun 24 02:18:27 MSD 2011


On 23 Jun 2011 23h09 WEST, appa at perusio.net wrote:

Also your later config could be simplified:

  server {
     ...
     location / {
        try_files $uri $uri/ /error.php?c=404 =404;
     }	  
  }

--- appa




More information about the nginx mailing list