摘要: 1 location /imgproxytest{ 2 if ($uri ~ ".*\.(jpg|png|jpeg|bmp|gif|swf|css)$"){ 3 rewrite_by_lua 'local url = ngx.var.request_uri local new_url = string.gsub(url,"/imgproxytest","") ngx.redirect("h... 阅读全文
posted @ 2018-03-26 18:17 嘿嘿果宝 阅读(424) 评论(1) 推荐(0) 编辑