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

                ## 10\. SNI *地址*:/snis *說明*:SNI對象表示主機名到證書的多對一映射。也就是說,一個證書對象可以有許多與之關聯的主機名;當Kong接收到SSL請求時,它使用clienthello中的SNI字段根據與證書相關聯的SNI查找證書對象。 ### 10.1 請求方法 | 序號 | NAME | 請求URI | 請求body | 說明 | | --- | --- | --- | --- | --- | | 1 | POST | /snis | {...} | 新增sni | | 2 | POST | /certificates/{certificate name or id}/snis | | 新增sni | | 3 | GET | /snis | | 查詢sni列表 | | 4 | GET | /certificates/{certificate name or id}/snis | | 查詢sni列表 | | 5 | GET | /snis/{name or id} | | 獲取sni信息 | | 6 | PATCH | /snis/{name or id} | {...} | 更新sni | | 7 | PUT | /snis/{name or id} | {...} | 新增/更新sni | | 8 | DELETE | /snis/{name or id} | | 刪除sni | ### 10.2 body 請求參數 | 參數名 | 可選 | 默認值 | 說明 | 示例 | | --- | --- | --- | --- | --- | | name | 必選 | | 要與給定證書關聯的SNI名稱。在最左邊(后綴)或最右邊(前綴)位置可以包含一個通配符。這在維護多個子域時非常有用,因為可以使用通配符名稱配置單個SNI來匹配多個子域,而不是為每個子域創建SNI實體。有效的通配符位置是mydomain.\*,\*。我的域名,和\*。[www.mydomain.com](http://www.mydomain.com)。普通的SNI名稱(沒有通配符)在匹配時優先,先是前綴,然后是后綴 | mydomain.\* | | tags | 可選 | | 標簽,數組形式的哈 | | | certificate | 必選 | | "certificate":{"id":""} | | ### 10.3 數據樣例 body 請求參數 ``` { "id": "7fca84d6-7d37-4a74-a7b0-93e576089a41", "name": "my-sni", "created_at": 1422386534, "tags": ["user-level", "low-priority"], "certificate": {"id":"d044b7d4-3dc2-4bbc-8e9f-6b7a69416df6"} } ``` sni列表 ``` { "data": [{ "id": "a9b2107f-a214-47b3-add4-46b942187924", "name": "my-sni", "created_at": 1422386534, "tags": ["user-level", "low-priority"], "certificate": {"id":"04fbeacf-a9f1-4a5d-ae4a-b0407445db3f"} }, { "id": "43429efd-b3a5-4048-94cb-5cc4029909bb", "name": "my-sni", "created_at": 1422386534, "tags": ["admin", "high-priority", "critical"], "certificate": {"id":"d26761d5-83a4-4f24-ac6c-cff276f2b79c"} }], "next": "http://localhost:8001/snis?offset=6378122c-a0a1-438d-a5c6-efabae9fb969" } ```
                  <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>

                              哎呀哎呀视频在线观看