spaces in URI
cgarver
nginx-forum at nginx.us
Tue Sep 28 22:14:09 MSD 2010
As I have other countries like Canada to deal with, it can get rather
unwieldy doing every permutation of case. What about something like
this:
rewrite (?i)^/us(.*)$ /us$1;
location ^~ /us {
proxy_pass http://backendcms/;
proxy_set_header Host xxx.xxx.xxx;
It seems to be allowing www.xxxx.xxx/uS/ to work. Not sure if there
will be any pitfalls later...
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,97031,135058#msg-135058
More information about the nginx
mailing list