Now if we were to put everything together into our dynamic Traefik config file, it would look something like the below. Use your favourite method for adding/editing the file and paste in the below. In our example we will use the simple command line file editor nano
. Anywhere you see YOURDOMAIN.COM
, make sure to change that out for your own domain.
nano /mnt/user/appdata/traefik/fileConfig.yml