You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2023/04/06 08:14:11 UTC

[apisix] branch master updated: docs: updated ssl sni parameter requirement in admin-api.md (#9176)

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 59b6e7668 docs: updated ssl sni parameter requirement in admin-api.md (#9176)
59b6e7668 is described below

commit 59b6e766879302e3549ac90287137a22c943f8f3
Author: Traky Deng <tr...@gmail.com>
AuthorDate: Thu Apr 6 16:14:02 2023 +0800

    docs: updated ssl sni parameter requirement in admin-api.md (#9176)
---
 docs/en/latest/admin-api.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index 6e714cc9d..cf65066ce 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -1160,7 +1160,7 @@ SSL resource request address: /apisix/admin/ssls/{id}
 | keys         | False    | An array of private keys | Private keys to pair with the `certs`.                                                                         |                                                  |
 | client.ca    | False    | Certificate              | Sets the CA certificate that verifies the client. Requires OpenResty 1.19+.                                    |                                                  |
 | client.depth | False    | Certificate              | Sets the verification depth in client certificate chains. Defaults to 1. Requires OpenResty 1.19+.             |                                                  |
-| snis         | True     | Match Rules              | A non-empty array of HTTPS SNI                                                                                 |                                                  |
+| snis         | True, only if `type` is `server`     | Match Rules              | A non-empty array of HTTPS SNI                                                                                 |                                                  |
 | labels       | False    | Match Rules              | Attributes of the resource specified as key-value pairs.                                                       | {"version":"v2","build":"16","env":"production"} |
 | create_time  | False    | Auxiliary                | Epoch timestamp (in seconds) of the created time. If missing, this field will be populated automatically.         | 1602883670                                       |
 | update_time  | False    | Auxiliary                | Epoch timestamp (in seconds) of the updated time. If missing, this field will be populated automatically.         | 1602883670                                       |