Hi, I use geo module in nginx 1.8.1. It has several geo directives that include files with IP to geodata mappings. Unfortunately, the encoding in city and country names is messed up when the variables are sent back as HTTP headers or passed to the backend. The included files are in UTF-8 without BOM. So, the question is: in what charset should I encode the files that are included by geo dby Alex Mashin - How to...
Well, this is a fragment of a configuration file for a wiki. It tries to prevent caching of pages in Служебная: (=Special:) namespace and fails, whether the configuration file is ANSI-encoded or UTF8: # Special pages: # Unencoded. Doesn't match for /w/index.php?title=Служебная:Random: location /w/index.php?title=Служебная { # do not cache...by Alex Mashin - How to...
I use nginx as a reverse proxy. I need to specify a special location(s) for certain URLs containing Cyrillic letters that would prevent caching and cache lookup, which happen otherwise (for location /). 1) Are URLs really decoded as written at http://wiki.nginx.org/HttpCoreModule#location, so that I need to type Cyrillic characters in the location directive unencoded? 2) If so, what encoding sby Alex Mashin - How to...
![]() |
![]() |
![]() |
![]() |
|