<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 功能強大 支持多語言、二開方便! 廣告
                ## 實例講解 先看一個配置的示例 ![](https://img.kancloud.cn/50/a0/50a01d71138cbc4304620db8eb3ddef7_741x461.png) ``` { "des": "2-func", "uri": [ "/api/test/debug", "" ], "state": "on", "hostname": [ "localhost5460", "" ], "replace_list": [ [ "replace_hello", "func", { "len": 4, "description": "參數使用demo" } ] ] } ``` * host 匹配域名等于`localhost5460` `localhost5460` 這個表示的是WAF服務器的web管理后臺的服務 * uri 匹配`uri`正則匹配 `^/api/ip_dict$` * 替換規則 調用插件函數名稱為:replace_hello,傳遞給插件的參數是:`{ "len": 4, "description": "參數使用demo" }` 插件的內容: ``` local _M = { _VERSION = "0.01" } local function replace_hello(str_all , _tb_args) -- 這里可以使用函數完成你想要的替換結果 return ngx.re.gsub(str_all, "hello", "HELLO") end _M.replace_hello = replace_hello return _M ```
                  <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>

                              哎呀哎呀视频在线观看