mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04:00
Improve formatting
parent
225c3e8b37
commit
7323f87b26
@ -515,15 +515,17 @@ and on by default.
|
|||||||
|
|
||||||
TLS is structured like this:
|
TLS is structured like this:
|
||||||
|
|
||||||
|
```
|
||||||
"tls": {
|
"tls": {
|
||||||
"certificates": {},
|
"certificates": {},
|
||||||
"automation": {},
|
"automation": {},
|
||||||
"session_tickets": {},
|
"session_tickets": {},
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Here is a contrived example showing all fields:
|
Here is a contrived example showing all fields:
|
||||||
|
|
||||||
|
```
|
||||||
"tls": {
|
"tls": {
|
||||||
"certificates": {
|
"certificates": {
|
||||||
"load_files": [
|
"load_files": [
|
||||||
@ -590,6 +592,7 @@ Here is a contrived example showing all fields:
|
|||||||
"rotation_interval": "12h"
|
"rotation_interval": "12h"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
As you can see, there are 4 ways to load certificates:
|
As you can see, there are 4 ways to load certificates:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user