fastcgi, try_files, problems
mdounin at mdounin.ru
Thu Jul 16 17:18:23 MSD 2009
On Thu, Jul 16, 2009 at 01:48:27PM +0100, Dick Middleton wrote:
> Tomasz Pajor wrote:
> > I have a problem with proper configuration of my page.
> Coo! Let me have a go. I'm brand new to nginx so just testing my
> reading ability :)
>> Don't know what am I doing wrong, but the debug says that when i go to
>> http://domain.com/administrator it uses the location /administrator but
>> then it's redirected to /index.php and it uses location /, so not as I
> Is it the order of location directives: location / satisfies
> /administrator before location /administrator
> So change the order in config - am I right?
No. For normal location (not regex) order doesn't matter, nginx
always uses most specific (i.e. longest match).
See http://wiki.nginx.org/NginxHttpCoreModule#location for
More information about the nginx