Nginx - rewrite 不区分大小写进行匹配
分类: Nginx2014-05-28 19:25 1046人阅读 评论(0) 收藏 举报
Use (?i) to match case-insensitively
eg: rewrite (?i)/(Cheap-[^\/]+\.html)(.*)$ /filter.php?route=$1 last;
参考:http://stackoverflow.com/questions/21577841/nginx-case-insensitive-url-redirection
时间: 2024-10-18 01:01:34