location matching.

Steve Wilson lists-nginx at swsystem.co.uk
Sun May 12 15:21:14 UTC 2013


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:

        location ^~ /svn {
                proxy_pass http://apache;
                proxy_set_header X-Real-IP $remote_addr;
        }
        location ~* \.(php|php5) {
		...
	}

Steve.



More information about the nginx mailing list