Questions tagged [traefik]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
898 views

Adding a unique request header to hundreds of Ingresses with Traefik 2

we're (finally) migrating from Traefik 1 to 2. We run 400+ apps on GKE. Our one remaining challenge is this: In Traefik 1 we set an annotation on each app's Ingress that adds a header to the request ...
Martijn Heemels's user avatar
1 vote
2 answers
260 views

NixOS - Let's Encrypt certificate is not recognized by Traefik (works in Nginx)

I am trying to run a demo Node.js app on a subdomain using Traefik reverse proxy. I am generating the wildcard Let's Encrypt certificate with the security.acme option. When I import the certificate in ...
protob's user avatar
  • 111
1 vote
1 answer
435 views

Multiple cors sites on Traefik

I'm using Traefik on my Ubuntu server. Cors works fine for one website but when I try to use it for two they seem to conflict. What is the correct syntax? This is what I have in my docker-compose file:...
Joe Gatt's user avatar
  • 113
1 vote
1 answer
2k views

Default certificate does not work in traefik v2 and docker compose

I am trying to setup traefik as a container and I can't get my existing certificates to work. This worked when I had this defined in traefik_dynamic.toml but I can't get it working via the labels ...
gctwnl's user avatar
  • 171
1 vote
1 answer
10k views

Traefik 404 page not found error, when accessing dashboard in an https only setting

For a while now, I'm trying to set up Traefik on my Oracle Cloud VPS. The server is sitting behind Cloudflare, so I configured a origin certificate from them. This seems to be working, because when I ...
Robin's user avatar
  • 778
1 vote
0 answers
183 views

Traefik dashboard returns 404 page not found + TLS handshake error: remote error: tls: bad certificate (traefik + bind9 + CloudFlare + Let's Encrypt)

I configured Traefik in docker using the guide: Put Wildcard Certificates and SSL on EVERYTHING - Traefik Tutorial But when trying to access the dashboard - I see an error: 404 Page not found I have ...
Riven's user avatar
  • 11
1 vote
0 answers
54 views

With a locally hosted Traefik proxy, what should my "trustedIPs" be for Authelia

I had a working docker stack with my home media server using a single docker compose file: version: "3" secrets: authelia_jwt_secret: file: $SECRETS_PATH/authelia/jwt_secret ...
Auspex's user avatar
  • 254
1 vote
1 answer
890 views

Traefik fails to obtain letsencrypt certificate for internal domain: DNS update failed: dns: bad signature

my goal is to be able to obtain certificates for "internal" domains using traefik. With "internal", I mean there is no public A record. For this reason, I won't be able to use the ...
herrhannes's user avatar
1 vote
0 answers
461 views

Why is access to Kubernetes lost if I turn on the IPVS mode?

The problem is that after enabling the IPVS mode in the kube-proxy, everything works fine for me. But as soon as I install Traefik, I immediately lose connection with Kubernetes. OS: CentOS 7.9 $ ...
Maksim's user avatar
  • 111
1 vote
2 answers
1k views

Serving ArgoCD behind Traefik in Kubernetes

I would like to run ArgoCD behind Traefik such that I can both access the ArgoCD web ui and interact with the API using the argocd command line tool. I have deployed ArgoCD into a Kubernetes cluster ...
larsks's user avatar
  • 43.9k
0 votes
1 answer
153 views

Check response of one backend before proxying to another

I have two backends in two locations behind an Nginx frontend. Backend A implements authentication with OAuth. Backend B doesn't. I think a lazy way of adding authentication for location B would be to ...
Daniel Darabos's user avatar
0 votes
0 answers
44 views

Web server returning high number of 502 and 504s

We have a web application (LAMP stack) with traefik as a reverse proxy that is suddenly giving HTTP 502 and 504 errors on >50% of requests, both for static files and php scripts. In the traefik ...
bkane521's user avatar
  • 101
0 votes
0 answers
41 views

HTTP Base Auth for a Swarm service behind Traefik reverse proxy

I'm running a Docker Swarm cluster with services behind Traefik2 with HTTPS Base Auth enabled in Traefik itself. Now i'd like to add RabbitMQ with its management interface and make the web management ...
Luke Nukem's user avatar
0 votes
2 answers
308 views

Is letsencrypt registration email address stored in certificate

I'm using letsencrypt in two ways: a docker stack using certbot, and another using traefik (which performs certificate management automatically, using lego). In both cases there's a setting for the ...
lonix's user avatar
  • 898
0 votes
1 answer
120 views

Traefik as reverse proxy with certbot / lego

When setting up a server I use a reverse proxy and acme tool for dns01 support (I use either nginx + certbot or nginx + lego). I want to start using traefik instead. I don't understand how traefik ...
lonix's user avatar
  • 898
0 votes
0 answers
65 views

Using Traefik, how to expose inner HTTPS errors (like expired certs)?

I'm using Traefik as a reverse proxy to my homelab. I'd like to use HTTPS inside the lab using a custom CA. To do this, I've set up a ServersTransport that trusts my lab CA. This worked well until a ...
Danya02's user avatar
  • 101
0 votes
0 answers
319 views

Traefik on Synology: LetsEncrypt says it has DNS issues but the certificate file looks valid

My curent Network: Router - 192.168.1.1 (static) Windows PC - 192.168.1.10 (static) Synology NAS - 192.168.1.11 (static) DockerPihole - 192.168.1.12 (macvlan-static) DockerUnbound ...
LorneCash's user avatar
  • 101
0 votes
0 answers
558 views

Ready made docker-compose.yml with Wireguard client and Traefik router to expose Proxmox home server to internet

I want to expose web services from Docker container running in LXC and from virtual machines to internet through Traefik router, single Wireguard tunnel and VPS. I also want to use same tunnel for SSH ...
marko kraljevic's user avatar
0 votes
0 answers
84 views

Traefik has node affinity

I installed traefik via Helm from this repo: https://helm.traefik.io/traefik It works, but it creates a persistent volume as hostPath which leads to a node affinity for the traefik pod. So it is not ...
Peter's user avatar
  • 123
0 votes
1 answer
593 views

Why can't traefik find the docker network it must use?

I am running a traefik in a container, together with other containers, most notably docker-socket-proxy so traefik can run as non-root. My compose works, but there is a warning message that tells me ...
gctwnl's user avatar
  • 171
0 votes
0 answers
87 views

traefik proxy docker swarm mode high availability

I am setting up using traefik as a reverse proxy for my infrastructure/applications deployed via docker swarm They recommend to only put the service on manager nodes. My plan was to have 1 manager and ...
Chris Muench's user avatar
0 votes
1 answer
409 views

metallb and Helm traefik install dashbord 404 not found

I installted traefik using helm but when I try to navigate trough web ui I have error 404 not found with http and https: helm install traefik traefik/traefik kubectl get svc -l app....
Rabah DevOps's user avatar
0 votes
0 answers
492 views

port forward ssh from traefik reverse proxy on docker to a k3s container

I'm running a k3s cluster (1 master + 2 workers) and a docker traefik container on the same host (master). The traefik docker container is actually doing the reverse proxy stuff for tls which is ...
jimmi4u's user avatar
0 votes
0 answers
446 views

Moving nginx/minio setup to docker/traefik/minio

I am currently running an nginx server in front of a number of minio servers. Each minio server runs on its own port on localhost for a single user and nginx is used for SSL termination and forwarding ...
gctwnl's user avatar
  • 171
0 votes
0 answers
375 views

404 error with lighttpd and unable to get lighttpd access.log and error.log working under docker compose

I am a beginner with traefik, lighttpd, docker compose, and I am trying to get logging working for lighttpd under docker compose. My lighttpd.conf file contains: server.modules = ( "...
gctwnl's user avatar
  • 171
0 votes
1 answer
893 views

Traefik don't keep real ip

I have a problem with Traefik, I want to log from a server with syslog-ng (docker). I have logs but I have reverse_proxy name and I want source IP not the name of traefik. I wish to keep source IP ...
warste's user avatar
  • 1
0 votes
0 answers
207 views

in Traefik, any way to forward request to loadbalancer url subfolder?

Is it possible to forward url to subfolder traefik loadbalancer? like backend server url to http://myserver/myfolder/my For example: [http.services.appv2] [http.services.appv2.loadBalancer] ...
Farhan's user avatar
  • 4,279
0 votes
1 answer
443 views

How to HELM install multiple Traefik with rbac?

I am trying to install two traefik. Each will be in its own namespace. Each traefik will use label selection. Below is the values override I use for each when I run helm install. rbac: enabled: true ...
Greg's user avatar
  • 1
0 votes
0 answers
2k views

Real Client-Ip with Cloudflare, Docker, Traefik and nginx set up as a mail proxy (Client-Ip in PHP script, not in upstream mail server)

I set nginx as a mail proxy, but i have trouble detecting the real Client-Ip in the php authentication script called by nginx via auth_http. I am not interested in getting real-IP on the upstream mail ...
Frugan's user avatar
  • 141