-
Notifications
You must be signed in to change notification settings - Fork 2
/
traefik.toml
51 lines (42 loc) · 1.51 KB
/
traefik.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
################################################################
# Global configuration
################################################################
logLevel = "DEBUG"
# Entrypoints to be used by frontends that do not specify any entrypoint.
# Each frontend can specify its own entrypoints.
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
################################################################
# ACME (Let's Encrypt): automatic SSL
################################################################
[acme]
email = "jensole@graulund.net"
storageFile = "/etc/traefik/acme/acme.json"
entryPoint = "https"
onDemand = true
caServer = "https://acme-staging.api.letsencrypt.org/directory"
[[acme.domains]]
main = "aws.traefik.senodio.com"
################################################################
# Web configuration backend
################################################################
[web]
address = ":8080"
################################################################
# Docker configuration backend
################################################################
[docker]
# Docker server endpoint. Can be a tcp or a unix socket endpoint.
endpoint = "unix:///var/run/docker.sock"
# Default domain used.
# Can be overridden by setting the "traefik.domain" label on a container.
domain = "senodio.com"
# Enable watch docker changes
watch = true