docs: TLS (Caddy) - Wrap `tls` directive into info admonition

This commit is contained in:
Brennan Kinney 2025-01-05 16:13:43 +13:00 committed by GitHub
parent 6778deeeca
commit 8963d3b6eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -485,6 +485,8 @@ DSM-generated letsencrypt certificates get auto-renewed every three months.
!!! 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"
services:
# 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: