-
Notifications
You must be signed in to change notification settings - Fork 0
/
traefik.yaml
40 lines (34 loc) · 859 Bytes
/
traefik.yaml
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
global:
checkNewVersion: true
sendAnonymousUsage: false # true by default
accesslog:
# format: common # common, json, logfmt
filePath: /etc/traefic/log/access.log
# Entry Points configuration
entryPoints:
web:
address: :80
# Redirect to HTTPS
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: :443
#Default Certificates
tls:
certificates:
- certFile: /etc/traefik/certificate.crt
keyFile: /etc/traefik/privkey.key
# Disable TLS version 1.0 and 1.1
options:
default:
minVersion: VersionTLS12
providers:
docker:
exposedByDefault: false # Default is true
file:
# watch for dynamic configuration changes
directory: /etc/traefik
watch: true