mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-04 21:17:36 +08:00
docs: fix case of Python (#3277)
This commit is contained in:
parent
fcd880f23f
commit
9ccdc29a9a
@ -31,7 +31,7 @@ It is most common for an SSL certificate to contain only one domain. We can crea
|
||||
* `key`: PEM-encoded private key of the SSL key pair.
|
||||
* `snis`: Hostname(s) to associate with this certificate as SNIs. To set this attribute this certificate must have a valid private key associated with it.
|
||||
|
||||
We will use the python script below to simplify the example:
|
||||
We will use the Python script below to simplify the example:
|
||||
|
||||
```python
|
||||
#!/usr/bin/env python
|
||||
|
@ -33,7 +33,7 @@ SNI(Server Name Indication)是用来改善 SSL 和 TLS 的一项特性,它允
|
||||
* `key`: SSL 密钥对的私钥,pem 格式
|
||||
* `snis`: SSL 证书所指定的一个或多个域名,注意在设置这个参数之前,你需要确保这个证书对应的私钥是有效的。
|
||||
|
||||
为了简化示例,我们会使用下面的 python 脚本:
|
||||
为了简化示例,我们会使用下面的 Python 脚本:
|
||||
|
||||
```python
|
||||
#!/usr/bin/env python
|
||||
|
Loading…
Reference in New Issue
Block a user