<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ### FIND_CONFIG階段[](http://tengine.taobao.org/book/chapter_12.html#find-config "永久鏈接至標題") FIND_CONFIG階段顧名思義就是尋找配置階段,具體一點就是根據uri查找location配置,實際上就是設置r->loc_conf,在此之前r->loc_conf使用的server級別的,查找location過程由函數ngx_http_core_find_location完成,具體查找流流程這里不再贅述,可以參考上一章關于location管理的內容,值得注意的是當ngx_http_core_find_location函數返回NGX_DONE時,Nginx會返回301,將用戶請求做一個重定向,這種情況僅發生在該location使用了proxy_pass/fastcgi/scgi/uwsgi/memcached模塊,且location的名字以/符號結尾,并且請求的uri為該location除/之外的前綴,比如對location /xx/,如果某個請求/xx訪問到該location,則會被重定向為/xx/。另外Nginx中location可以標識為internal,即內部location,這種location只能由子請求或者內部跳轉訪問。 找到location配置后,Nginx調用了ngx_http_update_location_config函數來更新請求相關配置,其中最重要的是更新請求的content handler,不同location可以有自己的content handler。 最后,由于有REWRITE_PHASE的存在,FIND_CONFIG階段可能會被執行多次。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看