<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 功能強大 支持多語言、二開方便! 廣告
                [TOC] ## reverse_proxy > [官網手冊](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy) 該指令的作用有 - 代理傳輸 - 負載平衡 - 運行狀況檢查 - 標頭處理 -緩沖選項 - 向一個或多個后端發出請求 語法 ``` reverse_proxy [<matcher>] [<upstreams...>] { # 后端 to <upstreams...> ... #負載平衡 lb_policy <name> [<options...>] lb_try_duration <duration> lb_try_interval <interval> # 主動健康檢查 health_path <path> health_port <port> health_interval <interval> health_timeout <duration> health_status <status> health_body <regexp> # 被動健康檢查 fail_duration <duration> max_fails <num> unhealthy_status <status> unhealthy_latency <duration> unhealthy_request_count <num> # 流媒體 flush_interval <duration> # 標頭處理 header_up [+|-]<field> [<value|regexp> [<replacement>]] header_down [+|-]<field> [<value|regexp> [<replacement>]] # round trip transport <name> { ... } } ``` ### 實例 ``` reverse_proxy localhost:9005 # 反向代理到 https reverse_proxy https://example.com # 負載均衡 reverse_proxy node1:80 node2:80 node3:80 # 對指定api負載均衡 reverse_proxy /api/* node1:80 node2:80 node3:80 { lb_policy header X-My-Header } # 刪除路徑前綴,然后代理 route /prefix/* { uri strip_prefix /prefix reverse_proxy localhost:9000 } ```
                  <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>

                              哎呀哎呀视频在线观看