<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國際加速解決方案。 廣告
                [TOC] ## 概述 - Caddy 通過配置Caddyfile - 無法支持使用 0.0.0.0:8080 的寫法, 只能寫具體的ip 192.168.0.151:8080 ![](https://caddyserver.com/resources/images/caddyfile-visual.png) ## 語法 ### 單站點 / 多站點 單站點 ``` localhost encode zstd gzip templates file_server browse ``` 多站點 ``` localhost { encode zstd gzip templates file_server browse } ... ``` ### 只填 `:port` 則只支持http ``` :8080{ ... } ``` ### 只填 ip/域名 則http跳轉到 https 并且 無法訪問 http 如 ``` 192.168.0.151:8080{ ... } ``` 如果只需要 http 則在網址前顯示添加 http 如 ``` http://192.168.0.151:8080{ ... } ``` ### 多站點指向同地址 ``` :8080, :8081 { ... } ``` ### 使用環境變量 ``` export SITE_ADDRESS=localhost:9055 ``` 使用 ``` {$SITE_ADDRESS} file_server // 解析 localhost:9055 file_server ``` ### 占位符 | Shorthand | Replaces | | --- | --- | | `{dir}` | `{http.request.uri.path.dir}` | | `{file}` | `{http.request.uri.path.file}` | | `{header.*}` | `{http.request.header.*}` | | `{host}` | `{http.request.host}` | | `{labels.*}` | `{http.request.host.labels.*}` | | `{hostport}` | `{http.request.hostport}` | | `{port}` | `{http.request.port}` | | `{method}` | `{http.request.method}` | | `{path}` | `{http.request.uri.path}` | | `{path.*}` | `{http.request.uri.path.*}` | | `{query}` | `{http.request.uri.query}` | | `{query.*}` | `{http.request.uri.query.*}` | | `{re.*.*}` | `{http.regexp.*.*}` | | `{remote}` | `{http.request.remote}` | | `{remote_host}` | `{http.request.remote.host}` | | `{remote_port}` | `{http.request.remote.port}` | | `{scheme}` | `{http.request.scheme}` | | `{uri}` | `{http.request.uri}` | | `{tls_cipher}` | `{http.request.tls.cipher_suite}` | | `{tls_version}` | `{http.request.tls.version}` | | `{tls_client_fingerprint}` | `{http.request.tls.client.fingerprint}` | | `{tls_client_issuer}` | `{http.request.tls.client.issuer}` | | `{tls_client_serial}` | `{http.request.tls.client.serial}` | | `{tls_client_subject}` | `{http.request.tls.client.subject}` | ### 支持 php
                  <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>

                              哎呀哎呀视频在线观看