-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtraefik.toml
More file actions
35 lines (29 loc) · 763 Bytes
/
traefik.toml
File metadata and controls
35 lines (29 loc) · 763 Bytes
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
# Secure localhost:5000 with self-signed SSL cert and
# serve it on test.localhost:4000 port
debug = true
logLevel = "DEBUG"
defaultEntryPoints = ["httpSSL"]
[web]
address = ":8080"
[entryPoints]
[entryPoints.httpSSL]
address = ":4000"
[entryPoints.httpSSL.tls]
# [entryPoints.httpSSL.tls.defaultCertificate]
# certFile = "/certs/cert.crt"
# keyFile = "/certs/cert.key"
[file]
[backends]
[backends.backend1]
[backends.backend1.servers]
[backends.backend1.servers.server0]
url = "http://192.168.0.16:5000"
[frontends]
[frontends.frontend1]
entryPoints = ["httpSSL"]
backend = "backend1"
[[tls]]
entryPoints = ["httpSSL"]
[tls.certificate]
certFile = "/certs/cert.crt"
keyFile = "/certs/cert.key"