76 lines
1.4 KiB
YAML
76 lines
1.4 KiB
YAML
api:
|
|
dashboard: true
|
|
|
|
metrics:
|
|
prometheus:
|
|
addrouterslabels: true
|
|
|
|
certificatesResolvers:
|
|
http_resolver:
|
|
acme:
|
|
email: "webmaster@prothmann.com"
|
|
storage: "acme_letsencrypt.json"
|
|
httpChallenge:
|
|
entryPoint: web
|
|
tls_resolver:
|
|
acme:
|
|
tlsChallenge: true
|
|
email: "webmaster@prothmann.com"
|
|
storage: "tls_letsencrypt.json"
|
|
entryPoints:
|
|
ping:
|
|
address: ":88"
|
|
web:
|
|
address: ":80"
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: "websecure"
|
|
scheme: "https"
|
|
middlewares:
|
|
- traefik-crowdsec-bouncer@file
|
|
websecure:
|
|
address: ":443"
|
|
http:
|
|
middlewares:
|
|
- traefik-crowdsec-bouncer@file
|
|
proxyProtocol:
|
|
trustedIPs:
|
|
- 10.0.0.0/8
|
|
- 172.16.0.0/12
|
|
- 192.168.0.0/16
|
|
forwardedHeaders:
|
|
trustedIPs:
|
|
- 10.0.0.0/8
|
|
- 172.16.0.0/12
|
|
- 192.168.0.0/16
|
|
|
|
ping:
|
|
entryPoint: "ping"
|
|
|
|
global:
|
|
checknewversion: true
|
|
sendanonymoususage: false
|
|
|
|
experimental:
|
|
plugins:
|
|
real-ip:
|
|
moduleName: github.com/Paxxs/traefik-get-real-ip
|
|
version: "v1.0.2"
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
exposedByDefault: false
|
|
network: "proxy"
|
|
file:
|
|
filename: "./dynamic_conf.yml"
|
|
watch: true
|
|
providersThrottleDuration: 10
|
|
|
|
log:
|
|
level: "INFO"
|
|
filePath: "/var/log/traefik/traefik.log"
|
|
accessLog:
|
|
filePath: "/var/log/traefik/access.log"
|
|
bufferingSize: 100 |