docs: TLS (Caddy) - Wrap `tls` directive into info admonition
This commit is contained in:
parent
6778deeeca
commit
8963d3b6eb
|
@ -485,6 +485,8 @@ DSM-generated letsencrypt certificates get auto-renewed every three months.
|
||||||
|
|
||||||
!!! example
|
!!! example
|
||||||
|
|
||||||
|
While DMS does not need a webserver to work, this workaround will provision a TLS certificate for DMS to use by adding a dummy site block to trigger cert provisioning.
|
||||||
|
|
||||||
```yaml title="compose.yaml"
|
```yaml title="compose.yaml"
|
||||||
services:
|
services:
|
||||||
# Basic Caddy service to provision certs:
|
# Basic Caddy service to provision certs:
|
||||||
|
@ -525,7 +527,7 @@ DSM-generated letsencrypt certificates get auto-renewed every three months.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
While DMS does not need a webserver to work, this workaround will provision a TLS certificate for DMS to use.
|
!!! info
|
||||||
|
|
||||||
An explicit `tls` directive affects only the site-address block it's used in:
|
An explicit `tls` directive affects only the site-address block it's used in:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue