I have setup Traefik on Ubuntu (no docker).
The problem is that the dashboard is not showing any of the components of my dynamic configuration, but if I mess it up, Traefik reports that the dynamic configuration is not valid... so it seems that he's checking if the config is valid, but it's not loading it
/etc/traefik/traefik.yaml
providers:
file:
directory: /etc/traefik/dynamic
watch: true
api:
dashboard: true
insecure: true
debug: true
log:
level: DEBUG
/etc/traefik/dynamic/dynamic.yaml
entryPoints:
cloudflare_2083:
address: :2083
middlewares:
HSTS:
headers:
stsSeconds: 15552000
stsIncludeSubdomains: true
forceSTSHeader: true
stsPreload: true
frameDeny: true
browserXssFilter: true
routers:
routerSeafile:
entryPoints: cloudflare_2083
service: seafile
rule: "Host(`sf.me.it`)"
middlewares:
- "HSTS"
tls: {}
routerSeafHttp:
entryPoints: cloudflare_2083
service: seafhttp
rule: "Host(`sf.me.it`) && PathPrefix(`/seafhttp`)"
middlewares:
- "HSTS"
tls: {}
routerSeafdav:
entryPoints: cloudflare_2083
service: seafdav
rule: "Host(`sf.me.it`) && PathPrefix(`/seafdav`)"
middlewares:
- "HSTS"
tls: {}
routerCode:
entryPoints: cloudflare_2083
service: code
rule: "Host(`seafile.lab.me.it`)"
middlewares:
- "HSTS"
tls: {}
services:
seafile:
servers:
- url: http://seafile.lab.me.it:8000
seafhttp:
servers:
- url: http://seafile.lab.me.it:8082
seafdav:
servers:
- url: http://seafile.lab.me.it:8080
code:
servers:
- url: http://seafile.lab.me.it:9980
tls:
certificates:
- certFile: /etc/traefik/certs/star_me_it.pem
keyFile: /etc/traefik/certs/star_me_it.pem.key
stores:
- me
options:
default:
minVersion: VersionTLS12