-
Notifications
You must be signed in to change notification settings - Fork 0
/
traefik.toml
41 lines (37 loc) · 981 Bytes
/
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
logLevel = "INFO"
defaultEntryPoints = ["http", "https"]
# Entrypoints, http and https
[entryPoints]
# http should be redirected to https
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
# https is the default
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
# Enable ACME (Let's Encrypt): automatic SSL
[acme]
# Email address used for registration
email = "sarit@elcolie.com"
storage = "/etc/traefik/acme/acme.json"
entryPoint = "https"
onDemand = false
OnHostRule = true
# Use a HTTP-01 acme challenge rather than TLS-SNI-01 challenge
[acme.httpChallenge]
entryPoint = "http"
[file]
[backends]
[backends.rasa]
[backends.rasa.servers.server1]
url = "http://rasa:5005"
[frontends]
[frontends.rasa]
backend = "rasa"
passHostHeader = true
[frontends.rasa.headers]
HostsProxyHeaders = ['X-CSRFToken']
[frontends.rasa.routes.dr1]
rule = "Host:gleng.elcolie.com"