nginx下sever中的location

# 說明   location [ = | ~ | ~* | ^~ ] URI { ... } 設置一個 URI 匹配路徑 =:精確匹配 ~:正則表達式匹配,區分字符大小寫 ~*:正則表達式匹配,不區分字符大小寫 ^~:URI 的前半部分匹配,且不實用正則表達式 優先級: = > location 完整路徑 > ^~ > ~ > ~* > location 起始路徑 > location / #
相關文章
相關標籤/搜索