Supporting special characters in URI for location block

Igor Sysoev igor at
Fri May 29 09:49:33 UTC 2015

On 29 May 2015, at 10:14, Rv Rv <rvrv7575 at> wrote:

> I have a URI with spanish characters that needs to be handled in location block specific to it e.g. I want to do 
> location <URI with spanish characters> {
> }
> However, nginx does not seem to match URI in location block  with spanish (or any other characters including chinese). Is this functionality supported?
> Thanks

Both URI and configuration should be in UTF-8.

location /año/ {

will match

"GET /a%C3%B1o/..."

Igor Sysoev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list