traefik/traefik.yml
2024-01-05 21:05:21 +01:00

52 lines
958 B
YAML

## STATIC CONFIGURATION
global:
checkNewVersion: true
sendAnonymousUsage: false
log:
level: "INFO"
accessLog:
filePath: "/logs/access.log"
bufferingSize: 100 # Configuring a buffer of 100 lines
filters:
statusCodes: "204-299,400"
api:
insecure: true
dashboard: true
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
websecure:
address: ":443"
http:
middlewares:
- secureHeaders@file
minecraft:
address: ':25565/tcp'
ssh:
address: ":22"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
# endpoint: "tcp://dockerproxy:2375"
# swarmMode: false
# network: "socket_proxy"
file:
watch: true
directory: "/etc/traefik/dynamic_conf"
certificatesresolvers:
le:
acme:
email: "raphy.martin@protonmail.ch"
storage: "/certificates/acme.json"
tlschallenge: true