Enable logging in Traefik

The examples can be executed locally which allows simple adjustment to your own needs. Technologies used are only docker and docker-compose. For the purpose of simpler declaration I will not make use of configuration files, but only use docker labels. Let’s get started with the deeper settings Traefik provides and then get into the general log and the access log. Settings for both logs There are different settings both logs share. Getting to know them is crucial when investigating problems with your settings. You might want to adjust them temporarily for debugging purposes. ...

August 11, 2022 · Last updated on November 11, 2022

Redirecting to an external domain with Traefik

In this article I will show you how to use redirects to an external domain in Traefik. The example can be executed locally which allows simple adjustment to your own needs. Technologies used are only docker and docker-compose. For the purpose of simpler declaration I will not make use of configuration files, but only use docker labels. Traefik configuration A minimalistic configuration of Traefik can be seen in the code block below. Only port 80 is exposed end assigned to the web entrypoint. All incoming traffic is now routed through this specific entrypoint. ...

April 3, 2022 · Last updated on April 3, 2022