Questions tagged [traefik]

Træfɪk is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease

Træfik (pronounced like traffic) is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS, and a lot more) to manage its configuration automatically and dynamically.

Useful links

2251 questions
6
votes
2 answers

Traefik with docker backend leads to bad gateway

I set up a debian server where I installed docker and docker-compose. I created in the home of my sudo user a folder with the following hierarchy: ~/docker-project - docker-compose.yml - /traefik/traefik.toml I do a docker-compose up -d…
mandok
  • 492
  • 1
  • 5
  • 20
6
votes
1 answer

Nginx behind Traefik Docker Swarm mode real ip

I'm using Traefik as a reverse proxy in front of nginx service on a docker swarm environment. Here's my docker-stack.yml: traefik: image: traefik command: -c /dev/null --web --docker --docker.swarmmode --docker.watch --docker.domain=domain…
ninja_dev
  • 383
  • 5
  • 12
6
votes
1 answer

Issues with Path and PathPrefix matching in Traefik

Using Traefix version 1.2.3 from the docker container I've set up the following file. traefik: image: traefik command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG ports: - "80:80" - "8080:8080" - "443:443" …
Douglas Fils
  • 311
  • 4
  • 14
6
votes
0 answers

Dockerized Jira behind traefik-Proxy throws Mixed-Content-Error

I've set up a Dockerized Jira-Instance beneath my Traefik-Installation. this is my docker-compose.yml: version: "2" services: software: image: cptactionhank/atlassian-jira-software:latest labels: -…
takethefake
  • 795
  • 1
  • 9
  • 20
5
votes
2 answers

How to configure traefik for dns over tls?

I have a problem configuring my traefik + pihole setup. I want to configure dns over tls. Maybe someone can point me out in right directions? In debug process, i found about tool kdig. I have tried it: kdig -d @myiphere +tls-ca +tls-host=mydnshere …
Tymur Valiiev
  • 637
  • 9
  • 25
5
votes
1 answer

Configuring traefik for basic http so that dashboard uses port 80 -- get page 404 not found

My VPS is a ubuntu 22.04 LTS headless I am doing this at /home/ubuntu so I have a ubuntu user that's a sudoer. Already installed docker and running Docker version 20.10.15, build fd82621 My purpose is to install and run traefik successfully with…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
5
votes
1 answer

How to pass original URI, with arguments, to Traefik ErrorPage handler specified in `query`?

I'm trying to use nginx to serve a custom error page using the Error Page middleware so that 404 requests to a lambda service (which I don't control) can be handled with a custom error page. I want to be able to get the context of this original…
K. Adam
  • 931
  • 5
  • 9
5
votes
2 answers

Correctly handle Socket.io on Docker Swarm using either Traefik or NGINX

I'm working on an application in Node.js using Socket.IO which is deployed using Docker Swarm and I want the option of multiple instances of the application service. But, the application is failing when there is more than one instance. The failure…
David Herron
  • 898
  • 2
  • 12
  • 22
5
votes
1 answer

Getting `Failed to list *v1beta1.IngressClass: ingressclasses.networking.k8s.io` error with Traefikv2.3

I'm trying to use Traefik Kubernetes Ingress. I'm using traefik:v2.3. K8's cli version is v1.18.3 and server version is v1.18.6IKS. I'm using IBM Kubernetes services to deploy this. But I'm getting below errors in pod logs. I'm following offical…
metadata
  • 1,139
  • 1
  • 7
  • 28
5
votes
1 answer

Traefik configuration with Docker not working

I am trying to set up a sample application with the Traefik reverse proxy in Docker. I am using Traefik v2.2 for this project which has significant differences from Traefik.v1.0. Here is my docker-compose.yml file: version: '3' services: …
Promise Preston
  • 24,334
  • 12
  • 145
  • 143
5
votes
0 answers

Client IP on Traefik with Docker Swarm

I try to get the client IP on a Traefik container which running on my Docker Swarm cluster. On my Traefik service configuration, I use the long syntax for port publishing: --publish published=80,target=80,mode=host \ --publish…
sadmin91
  • 61
  • 2
5
votes
0 answers

Getting Real IP to Kubernetes Pods using Traefik and DigitalOcean

I am trying to get the real source IP addresses to my Kubernetes pods using traefik. I am using the digital ocean load balancer which has the proxy protocol enabled. I have also configured my K8s service yaml to set the External Traffic policy to…
Rutnet
  • 1,533
  • 5
  • 26
  • 48
5
votes
0 answers

Reverse proxy with Traefik for multiple docker containers featuring Swagger UI and MinIO throws not found error

I'm trying to run some example with traefik that would establish a reverse proxy that features swagger ui and MinIO docker containers. I want those two services to be accessible on localhost:70/swagger and localhost:70/minio. This is my…
anzoman
  • 129
  • 1
  • 10
5
votes
2 answers

Traefik: "No ACME certificate generation required for domains" in the logs while using the default cert

I'm struggling with Let's Encrypt setup for my Docker Swarm. Traefik is started this way in my stack's compose file: image: traefik:v2.2 ports: - 80:80 - 443:443 - 8080:8080 command: - --api -…
Jean Claveau
  • 1,101
  • 1
  • 13
  • 15
5
votes
1 answer

Cannot get wildcard certificate with traefik v2 and godaddy

I'm trying to set up a wildcard certificate mechanism with traefik v2.2 and GoDaddy. What I want to do is generating a valid certificate for the URLs pattern *.example.org. Here there is my docker-compose: version: '3.7' services: traefik: …
floatingpurr
  • 7,749
  • 9
  • 46
  • 106