<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## 說明 匹配位置之所以寫在前面,是因為后續的很多規則的配置都需要理解這一節內容,在前面的簡介中列出了我們可以匹配的位置,但是不夠形象和具體,下面就具體的說明 **對應普通匹配規則中的key** ![](https://img.kancloud.cn/ac/40/ac400c5ad851a4f9ca2694e8a75a2d46_477x346.png) **對應高級規則,規則組配置中的第一個參數** ![](https://img.kancloud.cn/d5/7c/d57cada30def2066f4ca9e5773b8ebb5_456x355.png) ## 概要說明 ![](https://img.kancloud.cn/31/5d/315d97dfe2a3d91fe1db5e8deb6d6aba_1259x562.png) 基本上一個`request` 請求就包含這些信息,這里在對比前面的參數進行較為詳細的解釋 * scheme 請求協議如 `HTTP 1.0` `HTTP 1.1` `HTTP 2.0`... * uri 可以理解為 `path` 路徑 * remoteIp 發起請求的`ip`地址,直連IP地址 * ip 用戶真實`ip`地址,當有CDN等特殊情況時,用戶IP放在`header`頭中(`X-real-IP` | `X-Forwarded-For`),通過 ngx的realip模塊或`openstar`自帶的純`lua`實現的 `realIpFrom_Mod`模塊獲取的用戶真實IP * serverIp 當時負責反向代理的服務器IP * http_host 請求頭中的 `HOST` * hostname 真正解析的 `host` ,當一個沒有配置反向代理解析的域名到了服務器上,其請求的`HOST`可能是`www.nginx.org`,但是實際工作時,卻會解析到對應端口的 `default` 域名上,那么其真實的域名就是該`server`節點的`server_name` * method 請求方法如 `GET` `POST` `HEAD`... * referer # 請求的 referer 來源地址,上圖的來源地址是`http://nginx.org/` * useragent # 請求的 useragent 請求的瀏覽器信息 * cookie # 請求的 cookie 請求時攜帶的用戶會話`cookie`信息 * query_string `GET`請求參數的完整字符串,包括了請求的參數名和參數的值,也就是圖片中`?`后面的內容 * request_uri # 完整的 請求地址 (uri+query_string) 簡單的理解就是 `uri` + `query_string` 的拼接(圖片中藍色線加上黃色線的內容) * http_content_type # 請求頭 類型字段 請求頭的類型如:`text/plain` `multipart/form-data ...` `application/x-www-form-urlencoded` * headers `table`類型,是請求頭的完整信息(包括 `cookie`,`referer`,`useragent`等自定義頭),一個 `KEY - VALUE` 表 * args `table` 類型,是GET請求參數的完整信息,一個`KEY - VALUE` 表 * args_data args表所有`VALUE`的連接 * posts `table`類型,`POST`方法時,`http_content_type` 為 `x-www-form-urlencoded`,一個`KEY - VALUE`表 * posts_data # posts 該table中所有 value 的連接字符串,連接符 , posts表所有`VALUE`的連接(圖片中`post_data`為`openstar,3e45bf06417abbsdf06c5dd`) * posts_all `POST`方法時,完整的`body`內容(圖片中`posts_all`為`username=openstar&passwd=3e45bf06417abbsdf06c5dd`) * post_form `table`類型,`POST`方法時,且`http_content_type`為`multipart/form-data...`時的 `KEY - VALUE` 表 POST表單如下 ``` <form action="/form/" method="post" enctype="multipart/form-data"> <table> <tr> <td><label for="txtname">賬號:</label></td> <td><input type="text" id="txtname" name="login_username" /></td> </tr> <tr> <td><label for="txtpswd">密碼:</label></td> <td><input type="password" id="txtpswd" name="login_pswd" /></td> </tr> <tr> <td colspan=2> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <input type="submit" name="submit" value="Submit" /> </td> </tr> </table> </form> ``` 上傳數據如下: ![](https://img.kancloud.cn/2e/e6/2ee649f414f3be2a52f730b5ebee6af8_918x647.png) 對應的 `KEY - VALUE ` 表如下: ``` [ ["login_username",null,null,"openstar"], ["login_pswd",null,null,"passpasshaha"], ["file","快遞.txt","text\/plain","file msg is this!!! h"], ["submit",null,null,"Submit"], [位置1,位置2,位置3,位置4] ] ``` 匯總 ![](https://img.kancloud.cn/cd/66/cd6670a6ce51736d82802b336225f67c_782x606.png)
                  <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>

                              哎呀哎呀视频在线观看