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
0
votes
0 answers

Traefik 2 letsencrypt. Add new domain in a smart way

What could be the best way to issue missing letsencrypt certificates automatically? I have a Traefik 2.9 proxy that works for multiple docker containers for multiple domain names. Acme http challenge is set up for all my domains. I want to add a new…
drmax24
  • 1
  • 1
0
votes
1 answer

Traefik poor upload perfomance

Recently I moved to traefik as my reverse proxy of choice. But noticed that upload speed to my synology NAS decreased dramatically while using traefik with tls enabled. I did a little of investigation and installed librespeed container to do some…
0
votes
0 answers

Traefik Apply Middleware On Domain Names

There's a need to apply a request body size limit to certain domain names via Traefik. The Traefik middleware is: apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: name: request-limits spec: buffering: maxRequestBodyBytes:…
Theo Sweeny
  • 1,033
  • 14
  • 26
0
votes
0 answers

How to enable traefik ingress routes to send traffic to mutliple ports using single URL

I have a two containers running in a namespace in K3s cluster where for example port 1001 is exposed on container foo and port 1002 is exposed on container bar. I have configured kubernetes services to map host ports and container ports 1001:1001…
0
votes
0 answers

How to edit bad gateway page on traefik

I want to edit the Bad Gateway page from traefik to issue a command like docker restart redis Does anyone have an idea on how to do this? A bit of background: I have a somewhat broken setup of Traefik v2.5 and Authelia on my development server,…
user234458
  • 21
  • 4
0
votes
0 answers

Traefik ingress with External-DNS Statuscode=409

i'm using aks cluster and traefik ingress and i'm using external-dns to update my records . i installed my traefik ingress and he's working fine this my variables for helm : additionalArguments: - "--accesslog=true" - "--accesslog.format=json" …
0
votes
0 answers

How many routes are we allowed to have in Traefik?

We have a server that handles for example 10k users, and every user has his own domain Now when every user wants to reach his domain we should put some ID to his request's header, we used Traefik for this scenario. And now we have for example 10k…
Ali Rn
  • 1,114
  • 8
  • 19
0
votes
0 answers

Response Time seems high when Traefik is used

I have an application who run inside a docker, just behind a traefik proxy. I made some benchmarks. First form the server, I got a response time of 12ms if I use the IP of the docker. But when I used the ndd my response time escalated to 90ms! Why I…
garrym
  • 61
  • 4
0
votes
0 answers

Traefik non-regex specific Path replacements

Running traefik 2.8.4 I have, essentially, a map of paths that need to be redirected. For instance /asdf to /specific-word-1, /qwerty to /another-path, etc. They're not regex replacements, and there's no logical way to do the conversion. They're…
notablytipsy
  • 387
  • 1
  • 4
  • 19
0
votes
0 answers

How to ask login with middleware everytime I refresh the page or open new tab?

I work in Kubernetes and I have an app I can access with a K8S service and ingress traefik with the following yaml script: --- apiVersion: v1 kind: Secret metadata: name: whoami-login namespace: XXX data: users: XXX # Had it with:…
0
votes
0 answers

Router to the hostname itself through Traefik instead of its ingress controller

I started creating infrastructure with guides from https://dockerswarm.rocks. I have no previous experience with reverse proxies but I figured out how to route domain names to my Docker Swarm services ports like that: api.dev.mydomain.com ->…
fpiechowski
  • 517
  • 1
  • 7
  • 21
0
votes
0 answers

No route to host with Gitea and Drone.io using Traefik

I'm trying to get self hosted Gitea instance and a self hosted drone.io (version 2) instance to work together. Gitea is running. I added a drone.io OAuth application in Gitea settings with "https://drone.mydomain/login" as url. When I open drone.io…
0
votes
0 answers

cant route traffic to backend with traefik kubernetes ingress

kind: Ingress metadata: annotations: kubernetes.io/ingress.class: traefik traefik.ingress.kubernetes.io/router.middlewares: "{{ .Release.Namespace }}-{{ .Release.Name }}-middleware@kubernetescrd" name: "{{ .Release.Name }}-ingress" …
Tweeno
  • 17
  • 1
  • 1
  • 6
0
votes
0 answers

Wordpress service is not showing in Traefik

I am trying to deploy Wordpress application on docker swarm stack, behind Traefik reverse proxy, I wanted to use Nginx for reverse proxying but as the the Wordpress is deployed with 2 replicas I am facing session time out issue, therefore I am…
0
votes
1 answer

How do I properly assign subnets to docker networks on a cloud instance?

I would like to set up a reverse proxy (traefik) on a VPS and then give give traefik container a static IP. This is the network block i want to have in the end: networks: t2_proxy: name: t2_proxy driver: bridge ipam: config: …
Kranja
  • 331
  • 1
  • 2
  • 8