nginx多个if条件并且查询
摘要:
set $flag 0; if (!-e $request_filename){ set $flag "${flag}1"; } if ($uri ~* "^(.*)/15_74/$"){ set $flag "${flag}2"; } if ($flag = "012"){ rewrite ^/( 阅读全文
posted @ 2018-01-04 19:30 dongruiha 阅读(3364) 评论(0) 推荐(0) 编辑