mike
March 17, 2009 02:05PM
On Tue, Mar 17, 2009 at 10:15 AM, mike <mike503@gmail.com> wrote:


> try_files $uri $uri/ /index.php?q=$request_uri;            ($uri might
> work too - might warrant testing the two, I'm trying to find the
> difference between the two on the wiki)

found it.

http://wiki.nginx.org/NginxHttpCoreModule

$document_uri
The same as $uri.

$uri
This variable is equal to current URI in the request, it can differ
from initial, for example by internal redirects, or with the use of
index it is file with internal redirects.

So it is the same. Could just keep it $uri then for simplicity. $uri
$uri/ /index.php?q=$uri
Subject Author Posted

drupal+nginx: this works => using try_files

Mark Alan March 17, 2009 06:01AM

Re: drupal+nginx: this works => using try_files

mike March 17, 2009 01:37PM

Re: drupal+nginx: this works => using try_files

mike March 17, 2009 02:05PM

Re: drupal+nginx: this works => using try_files

Mark Alan March 17, 2009 04:13PM

Re: drupal+nginx: this works => using try_files

mike March 17, 2009 06:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready