Welcome! Log In Create A New Profile

Advanced

Re: Supporting special characters in URI for location block

May 29, 2015 05:50AM
On 29 May 2015, at 10:14, Rv Rv <rvrv7575@yahoo.com> 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.
Then

location /año/ {
}

will match

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


--
Igor Sysoev
http://nginx.com

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

Supporting special characters in URI for location block

rvrv7575 May 29, 2015 03:16AM

Re: Supporting special characters in URI for location block

Igor Sysoev May 29, 2015 05:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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