Welcome! Log In Create A New Profile

Advanced

Re: location matching.

Steve Wilson
May 12, 2013 11:22AM
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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

location matching.

Steve Wilson May 12, 2013 10:28AM

Re: location matching.

Jonathan Matthews May 12, 2013 10:56AM

Re: location matching.

Steve Wilson May 12, 2013 11:22AM

Re: location matching.

Jonathan Matthews May 12, 2013 11:36AM

Re: location matching.

Steve Wilson May 12, 2013 11:56AM

Re: location matching.

Steve Wilson May 12, 2013 12:30PM

Re: location matching.

Francis Daly May 13, 2013 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 203
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