mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
34 lines
807 B
TOML
34 lines
807 B
TOML
# This is just boilerplate stuff you probably have in your own config
|
|
logLevel = "INFO"
|
|
defaultEntryPoints = ["https","http"]
|
|
|
|
[entryPoints]
|
|
[entryPoints.http]
|
|
address = ":80"
|
|
[entryPoints.http.redirect]
|
|
entryPoint = "https"
|
|
[entryPoints.https]
|
|
address = ":443"
|
|
[entryPoints.https.tls]
|
|
|
|
[docker]
|
|
endpoint = "unix:///var/run/docker.sock"
|
|
watch = true
|
|
exposedByDefault = false
|
|
|
|
# Make sure we get acme.json saved, and onHostRule enabled
|
|
[acme]
|
|
email = "your@mail.tld"
|
|
storage = "acme.json"
|
|
entryPoint = "https"
|
|
onHostRule = true
|
|
|
|
[acme.httpChallenge]
|
|
entryPoint = "http"
|
|
|
|
# This should include all of your mail domains, and main= should be your $TRAEFIK_DOMAIN
|
|
[[acme.domains]]
|
|
main = "mail.example.com"
|
|
sans = ["web.mail.example.com", "smtp.mail.example.com", "imap.mail.example.com"]
|
|
|