FreeBSD traefik start without traefik.yml default file

Hi there as the title said I can't get traefik starting with the default /etc/traefik/traefik.yml

I'm using FreeBSD 12.2
and just update traefik to 2.48

Before traefik update it works so I don't know why it stop

When I try using the binary by hand all works fine but when I try to use the freeBSD services with rc.conf or so nothing happen

traefik is lauched but with default config (not the one I did)
image

image

If someone who know freeBSD can tell me how to get traefik starting with rc.conf AND with file (like the second screenshot) would be great !

thank you

Bump

Try this:

sysrc traefik_enable="YES"
crontab -e
@reboot /usr/local/bin/traefik --configFile=/usr/local/etc/traefik.toml

Use file routing on FreeBSD

http:
  routers:
    dashboard-http:
      entryPoints:
      - web
      rule: "Host(`traefik.example.com`)"
      service: api@internal
    dashboard-https:
      entryPoints:
      - websecure
      rule: "Host(`traefik.example.com`)"
      service: api@internal
      tls:
        certResolver: myresolver

Yes that's what I did Thanks for answer

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.