proxy/config/traefik.toml

75 lines
1.6 KiB
TOML

# accept invalid SSL certs for backends
InsecureSkipVerify = true
defaultEntryPoints = ["http", "https"]
[acme]
email = "hostmaster@zom.bi"
storage = "cert/acme.json"
entryPoint = "https"
onDemand = false
#OnHostRule = true
OnHostRule = false
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[web]
address = ":8080"
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "docker.localhost"
watch = true
exposedbydefault = false
# new domains and subdomains can be configured here.
# note that domains and subdomains not defined in this file will still work,
# when defined in a container Host-Rule. However, they will generate
# their own ACME request, and will count towards LetsEncrypt's rate limit.
[[acme.domains]]
main = "zom.bi"
sans = [
"conference.zom.bi",
"talk.zom.bi",
"mumble.zom.bi",
"irc.zom.bi",
"mx.zom.bi",
"user.zom.bi",
"xmpp.zom.bi",
"matrix.zom.bi",
# web vhosts:
"api.zom.bi",
"autoconfig.zom.bi",
"blog.zom.bi",
"cloud.zom.bi",
"docker.zom.bi",
"download.zom.bi",
"git.zom.bi",
"kanban.zom.bi",
"mail.zom.bi",
"music.zom.bi",
"org.zom.bi",
"push.zom.bi",
"static.zom.bi",
"stream.zom.bi",
"tube.zom.bi",
"wiki.zom.bi",
"www.zom.bi",
# test subdomain
"test.zom.bi",
]
# You can define multiple of these blocks, each of which will result in one
# certificate.
#[[acme.domains]]
# main = "zombi.systems"
# sans = ["www.zombi.systems", "blog.zombi.systems"]