mirror of
https://github.com/docker-mailserver/docker-mailserver
synced 2024-09-29 11:41:18 +02:00
Update for key_type global option with Caddy v2 for people sharing their LE certs between Caddy and docker-mailserver
This commit is contained in:
parent
68e27162f3
commit
4fc4fe97f7
@ -31,8 +31,20 @@ https://mail.domain.com {
|
||||
}
|
||||
}
|
||||
```
|
||||
For Caddy v2 you can specify the key_type in your server's global settings, which would end up looking something like this if you're using a Caddyfile:
|
||||
```
|
||||
{
|
||||
debug
|
||||
admin localhost:2019
|
||||
http_port 80
|
||||
https_port 443
|
||||
default_sni mywebserver.com
|
||||
key_type rsa4096
|
||||
|
||||
For Caddy v2 it is necessary to use the json structured Caddyfile. A minimal config would look something like this:
|
||||
}
|
||||
````
|
||||
|
||||
If you are instead using a json config for Caddy v2, you can set it in your site's TLS automation policies:
|
||||
|
||||
```
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user