Location regex issue.

Athan Dimoy foxx at freemail.gr
Mon Feb 11 13:31:18 MSK 2008

"Igor Sysoev" <is at rambler-co.ru> wrote in message 
news:20080211101850.GA70984 at rambler-co.ru...
> What begin are you mean ? Begin of URI or begin of level in directory ?
> "^" is begin of all text. All URIs started from '/'.

My mistake!
You're right Igor, in that case ^ means begin of all text not just filename 

> You probably need
> location ~ /code-style\.pl$ {

That works.


More information about the nginx mailing list