proxy/config/traefik.toml

80 lines
1.7 KiB
TOML
Raw Normal View History

2017-07-09 17:46:14 +02:00
# accept invalid SSL certs for backends
InsecureSkipVerify = true
defaultEntryPoints = ["http", "https"]
2017-07-09 20:42:15 +02:00
[acme]
email = "hostmaster@zom.bi"
storage = "cert/acme.json"
entryPoint = "https"
onDemand = false
2017-07-16 00:34:21 +02:00
#OnHostRule = true
OnHostRule = false
2017-07-09 20:42:15 +02:00
2017-07-09 17:46:14 +02:00
[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
2017-07-09 20:42:15 +02:00
# new domains and subdomains can be configured here.
2017-07-09 17:46:14 +02:00
# 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.
2017-07-09 20:42:15 +02:00
[[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",
2017-07-16 00:34:21 +02:00
"matrix.zom.bi",
2017-07-09 20:42:15 +02:00
# web vhosts:
"api.zom.bi",
"autoconfig.zom.bi",
"blog.zom.bi",
2017-09-10 01:16:46 +02:00
"cloud.zom.bi",
2017-08-29 23:18:42 +02:00
"docker.zom.bi",
2017-09-10 01:16:46 +02:00
"download.zom.bi",
2017-07-09 20:42:15 +02:00
"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",
2017-09-10 01:16:46 +02:00
# test subdomain
"test.zom.bi",
2017-07-09 20:42:15 +02:00
]
2018-01-14 20:22:33 +01:00
[[acme.domains]]
main = "suprememachines.de"
sans = ["www.suprememachines.de", "git.suprememachines.de"]
2017-07-09 20:42:15 +02:00
# 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"]