Welcome! Log In Create A New Profile

Advanced

Re: location for php except

Philipp Kraus
June 01, 2014 03:02PM
Am 01.06.2014 um 20:16 schrieb Francis Daly <francis@daoine.org>:

> Strictly, it's that this location is the one that best matches the
> request. ("first" doesn't really apply.)
>
> See http://nginx.org/r/location for details.

okay, I have try to swap both location, imho I have translate "best location" with "first-come-first-serv order", so the swap does not create
any effect.

>
>> So how can I change the locations, that all PHP files, which URL has got the part /gitlab it should be passed to Gitlab and
>> otherwise it should be passed to the fastcgi call e.g.
>
> If by "has got the part" you mean "starts with exactly the string",
> then pay particular attention to the "^~" modifier,

I have added the ^~ to my locations and it seems to be working

Thanks

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

location for php except

Philipp Kraus June 01, 2014 01:40PM

Re: location for php except

Francis Daly June 01, 2014 02:18PM

Re: location for php except

Philipp Kraus June 01, 2014 03:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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