[nginx] if、rewrite、location指令

nginx中ngx_http_rewrite_module管理着配置文件中的set、if、rewrite、break、return等指令,其中if會和location指令同樣在server下建立location並push到server->locations隊列裏,有個noname屬性區分這兩種狀況,用於在find_config_phase時只查找真實的location。location指令詳情參見
相關文章
相關標籤/搜索