补充关于 HTTPS 的说明
This commit is contained in:
parent
dd1eccbdcf
commit
9c1fe24435
|
@ -86,3 +86,19 @@ Caddyfile 文件内容如下
|
|||
index index.html
|
||||
}
|
||||
```
|
||||
|
||||
## HTTPS
|
||||
|
||||
TLS 必须满足以下要求才能保证 HTTPS 功能正常:
|
||||
|
||||
* The hostname:
|
||||
* is not empty
|
||||
* is not localhost
|
||||
* is not an IP address
|
||||
* has no more than 1 wildcard (*)
|
||||
* wildcard must be left-most label
|
||||
* The port is not explicitly 80
|
||||
* The scheme is not explicitly http
|
||||
* TLS is not turned off in site's definition
|
||||
* Certificates and keys are not provided by you
|
||||
* Caddy is able to bind to ports 80 and 443 (unless you use the DNS challenge)
|
||||
|
|
Loading…
Reference in New Issue