location regex issue

Edho P Arief edhoprima at gmail.com
Fri Apr 15 13:18:06 MSD 2011


On Fri, Apr 15, 2011 at 4:12 PM, Boyko Yordanov <b.yordanov at exsisto.com> wrote:
> Hi list,
>
> Facing a difficulty here,
>
> I have the following location config:
>
> location ~* (^/browse/$) {
>
> And this seems to catch URls like /browse/?page=35 and similar.
>
> In my understanding the $ (end of line) symbol should make this location work only for /browse/ and nothing more.. or am I wrong?
>

anything past ? (and ? itself) is argument hence not checked when
matching location block.



More information about the nginx mailing list