nginx location-notepad
~* 使用正则,不区分大小写匹配 location ~ ^/abcd$ 匹配http://test.com/abcdhttp://test.com/abcd?param1¶m2http://test.com/ABCD 不匹配http://test.com/abcd/http://test.com/abcde^~ URI的定位必须以指定模式开始。不同的是,如果模式匹配,nginx就停止搜索其它模式 @ 定义一个命名location区段,客户端不能访问此类区段,只能由内部产生的请求来访问,如:try_files或error_pagenginx选择的顺序优先极:
页:
[1]