NGINX Location Matching Question - Case insensitive matching at the start of a URI

2013-12-05 Thread Brad Van Sickle
Hi, I'm running in a somewhat urgent issue where I have to make a case-insensitive location match on a URI segment that is at the beginning of the URI. so I want to match /uri-segment/* /URI-segment/* /Uri-Segment/* etc.. I know that this will match the start of the URI: location ^~

Re: NGINX Location Matching Question - Case insensitive matching at the start of a URI

2013-12-05 Thread Jonathan Matthews
On 5 December 2013 23:29, Brad Van Sickle bvs7...@gmail.com wrote: Hi, I'm running in a somewhat urgent issue where I have to make a case-insensitive location match on a URI segment that is at the beginning of the URI. so I want to match /uri-segment/* /URI-segment/* /Uri-Segment/*

Re: NGINX Location Matching Question - Case insensitive matching at the start of a URI

2013-12-05 Thread Brad Van Sickle
Thanks for the quick response! Looks like that is matching how I intend... however it (of course) revealed another issue in my app layer :) But at least the NGINX configs seems correct now. Thanks! On 12/5/2013 6:40 PM, Jonathan Matthews wrote: On 5 December 2013 23:29, Brad Van Sickle

location matching.

2013-05-12 Thread Steve Wilson
I've just had to move subversion onto a server that's already serving network wordpress via nginx. Most things work via /svn in a subversion client but I can't for the life of me figure out how to stop /svn.*\.php hitting the fastcgi_pass. I'm sure it's simple and I'm just not seeing the wood for

Re: location matching.

2013-05-12 Thread Jonathan Matthews
Have you looked at the ^~ prefix mentioned in http://wiki.nginx.org/HttpCoreModule#location ? It looks like what you need ... -- Jonathan Matthews // Oxford, London, UK http://www.jpluscplusm.com/contact.html ___ nginx mailing list nginx@nginx.org

Re: location matching.

2013-05-12 Thread Steve Wilson
On 12/05/2013 15:55, Jonathan Matthews wrote: Have you looked at the ^~ prefix mentioned in http://wiki.nginx.org/HttpCoreModule#location ? It looks like what you need ... I thought I'd tried that, and even with the change in config it's still giving me the 404 errors. changed config:

Re: location matching.

2013-05-12 Thread Jonathan Matthews
On 12 May 2013 16:21, Steve Wilson lists-ng...@swsystem.co.uk wrote: On 12/05/2013 15:55, Jonathan Matthews wrote: Have you looked at the ^~ prefix mentioned in http://wiki.nginx.org/HttpCoreModule#location ? It looks like what you need ... I thought I'd tried that, and even with the