${uri}index.php causing error.
Maxim Dounin
mdounin at mdounin.ru
Thu Apr 8 15:08:13 MSD 2010
Hello!
On Thu, Apr 08, 2010 at 08:55:38PM +1000, Leonardo Crespo wrote:
> G'day mate!
>
> > Curly brackets aren't allowed outside quoted strings as they
> > denote configuration blocks.
>
> Ah that's why! So can I use either one of the 2 options? Care to
> explain the - and + signs in front of try_files? They're not on the
> wiki too.
"-" and "+" are from unified diff(1) fromat. You have to remove
first line and add second instead (with quotes added).
[...]
> > - try_files $uri.php ${uri}index.php =404;
> > + try_files $uri.php "${uri}index.php" =404;
Maxim Dounin
More information about the nginx
mailing list