<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 功能強大 支持多語言、二開方便! 廣告
                ## 簡介 該配置就是在 openresty 的 log 階段執行我們想要的規則(因為無需對請求進行處理,一般都是配合插件完成業務在 LOG 階段的操作) ## 入口 ![](https://img.kancloud.cn/c9/b2/c9b2f3893eccc92179fc0c399c07b776_1072x850.png) ## 主界面 ![](https://img.kancloud.cn/dd/ab/ddab38345a42d913e11a9e4ac59ff14e_997x340.png) * 規則開關 控制該模塊`log_Mod`全局開關是否啟用,如果關閉,那么該模塊下所有規則將失效 ## 添加/編輯規則 ![](https://img.kancloud.cn/f1/47/f1477685bfc07e8e19caadf5077a1c41_1125x638.png) 本條規則的意義是,匹配域名為 localhost, 客戶端ip在 數組中,且請求的 uri 是數組中的,命中后,我們讓該請求執行 diylogfunc 的插件操作;我們在看看這個插件具體在干什么? ![](https://img.kancloud.cn/2b/44/2b44bf8d8e9ac09183e5722f0a48ccf7_519x381.png) 一目了然,我們就做了一件事,就是把默認傳遞的 base_msg 保存到傳遞參數path 文件路徑下了,規則上這個文件路徑配置的是 `/tmp/aaa` ## 刪除 刪除當前選中的規則,這個是實時生效的 ## 保存 保存該模塊規則到服務器json配置文件(防止重啟后配置丟失) 注:Slave 會自動保存配置到json文件!!! ## 配置json講解 denyMsg模塊保存為json的文件:`/openstar/conf_json/denyMsg.json` 先看一個配置的示例 ![](../images/screenshot_1570805716583.png) ``` ... "localhost5460":{ "deny_msg": "deny 406", "http_code": 406 } ... ``` * 域名 `localhost5460` 服務域名 `localhost5460` 這個表示的是WAF服務器的web管理后臺匹配的`server`(域名) * 狀態碼 406 * 攔截頁面(html代碼) 某個`ip`訪問WAF的WEB管理后臺觸發攔截規則時顯示的內容
                  <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>

                              哎呀哎呀视频在线观看