Today my traefik suddenly stopped working and reports 403 forbidden for all services. Maybe somebody can give me a hint what and why this happened as I have no clue where to look at.
traefik.conf
api:
dashboard: true
metrics:
prometheus:
addrouterslabels: true
certificatesResolvers:
http_resolver:
acme:
email: "xxx"
storage: "acme_letsencrypt.json"
httpChallenge:
entryPoint: web
tls_resolver:
acme:
tlsChallenge: true
email: "xxx"
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
- 0.0.0.0/0
forwardedHeaders:
trustedIPs:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 0.0.0.0/0
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
access.log:
127.0.0.1 - - [17/Dec/2024:15:38:06 +0000] "HEAD /ping HTTP/1.1" 200 2 "-" "-" 1 "ping@internal" "-" 0ms
127.0.0.1 - - [17/Dec/2024:15:38:16 +0000] "HEAD /ping HTTP/1.1" 200 2 "-" "-" 4 "ping@internal" "-" 0ms
94.31.117.104 - - [17/Dec/2024:15:38:16 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 3 "traefik@docker" "-" 243ms
94.31.117.104 - - [17/Dec/2024:15:38:16 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 2 "traefik@docker" "-" 476ms
94.31.117.104 - - [17/Dec/2024:15:38:18 +0000] "GET / HTTP/1.1" 403 9 "-" "-" 5 "traefik@docker" "-" 507ms
94.31.117.104 - - [17/Dec/2024:15:38:18 +0000] "GET / HTTP/1.1" 403 9 "-" "-" 6 "router-portainer@file" "-" 492ms
94.31.117.104 - - [17/Dec/2024:15:38:19 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 7 "traefik@docker" "-" 13ms
94.31.117.104 - - [17/Dec/2024:15:38:19 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 8 "traefik@docker" "-" 13ms
94.31.117.104 - - [17/Dec/2024:15:38:19 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 9 "traefik@docker" "-" 14ms
94.31.117.104 - - [17/Dec/2024:15:38:20 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 10 "traefik@docker" "-" 13ms
94.31.117.104 - - [17/Dec/2024:15:38:20 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 11 "traefik@docker" "-" 14ms
94.31.117.104 - - [17/Dec/2024:15:38:20 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 12 "traefik@docker" "-" 22ms
94.31.117.104 - - [17/Dec/2024:15:38:20 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 13 "traefik@docker" "-" 20ms
94.31.117.104 - - [17/Dec/2024:15:38:20 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 14 "traefik@docker" "-" 15ms
94.31.117.104 - - [17/Dec/2024:15:38:20 +0000] "GET / HTTP/1.1" 403 9 "-" "-" 15 "router-paperless@file" "-" 21ms
94.31.117.104 - - [17/Dec/2024:15:38:21 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 16 "traefik@docker" "-" 20ms
94.31.117.104 - - [17/Dec/2024:15:38:21 +0000] "GET / HTTP/2.0" 403 9 "-" "-" 17 "traefik@docker" "-" 13ms
94.31.117.104 - - [17/Dec/2024:15:38:22 +0000] "GET /fhem?fw_id= HTTP/2.0" 403 9 "-" "-" 18 "router-fhem@file" "-" 26ms
94.31.117.104 - - [17/Dec/2024:15:38:22 +0000] "GET /favicon.ico HTTP/2.0" 403 9 "-" "-" 19 "router-fhem@file" "-" 15ms
94.31.117.104 - - [17/Dec/2024:15:38:23 +0000] "GET /fhem?fw_id= HTTP/2.0" 403 9 "-" "-" 20 "router-fhem@file" "-" 12ms
94.31.117.104 - - [17/Dec/2024:15:38:23 +0000] "GET /favicon.ico HTTP/2.0" 403 9 "-" "-" 21 "router-fhem@file" "-" 13ms