Questions tagged [traefik]

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

7
votes
1answer
5k views

Routing paths with Traefik

Currently I'm trying set up a loadbalancer/reverse proxy with Traefik for some docker containers. I'm having trouble with configuring Treafik to make my apps available using a some prefix paths. I'm ...
3
votes
1answer
898 views

Is there an equivalent to ReverseProxyPass for Apache in Traefik?

I have setup Traefik to work in Docker Swarm mode. I have deployed Portainer into the cluster with the following command:docker service create \...
1
vote
2answers
519 views

Global configuration of security in Traefik for Docker

Since version 1.5 Traefik give option to configure security for each service.These options are for available here https://docs.traefik.io/configuration/backends/docker/#security-headers and must be ...
1
vote
1answer
746 views

Path based routing issues Traefik as Ingress Controller

I'm running through what looks like a configuration issue! I am using traefik as ingress controller within kubernetes and I have an ingress to route some URLs to route some frontends to various ...
2
votes
1answer
3k views

Howto rewrite paths with traefik when using path prefix rules?

My traefik config for wordpress contains the following docker-labels:- "traefik.backend=wordpress"- "traefik.docker.network=web"- "traefik.frontend.rule=Host:MyHostName.net;PathPrefix:/blog"- "...
1
vote
3answers
713 views

traefik ingress custom error in kubernetes

I need to set a custom error in traefik ingress on kubernetes so that when there is no endpoint or when the status is "404", or "[500-600]" it redirects to another error service or another custom ...
1
vote
1answer
170 views

GKE traefik fails to create rbac permissions

I am trying to install traefik as an ingress controller on GKE (google cloud kubernetes engine) and when I try:kubectl apply -f https://raw.githubusercontent.com/containous/traefik/master/examples/...
0
votes
1answer
591 views

How to use a private registry with docker swarm and traefik in docker

I am running a single node swarm, I am using traefik to manage all my external connections, and I want to run a registry such that I can connect to it at registry.myhost.comNow all the examples I ...
3
votes
2answers
2k views

gitlab in docker behind traefik proxy fails (usually)

I have several web sites running in docker with LetsEncrypt credentials and routed via traefik.I would like to run a local gitlab-ce in docker similarly with LetsEncrypt and traefik.So I added this ...
2
votes
2answers
147 views

Traefik-ingress dashboard return 404

I deploy traefik ingress controller pod and then two services, one of them a LoadBalancer type for reverse-proxy and the other a ClusterIP for dashboard. Also I create ingress for redirect all <...
2
votes
1answer
895 views

HTTPS-Redirect with Traefik behind Aws Loadbalancer

I'm trying to redirect all incoming Traefik from http to https, for a web application which gets served out of a docker container with a custom port.If I build this docker compose file, and scale ...
2
votes
0answers
456 views

How to use whitelisting per container

I'm using traefik in docker-mode. It's retrieving most config (acme.domains, enabled, frontend-rules,...) from the docker containers.Currently all containers are reachable from the WWW (0.0.0.0). I'...
2
votes
0answers
1k views

How to use Traefik for WebSocket backend

I am trying to configure Traefik for a WebSocket app, I just try with a simple WS app on docker: https://hub.docker.com/r/jmalloc/echo-server/To test it I use Chrome SimpleWebSocketClient, so if I ...
1
vote
1answer
106 views

Traefik health checks via kubernetes annotation

I want setup Traefik backend health check via Kubernetes annotation, but looks like Kubernetes Ingress does not support that functionality according to official documentation.Is any particular ...
1
vote
0answers
232 views

Mounting volume in Azure-Container-Service not working for traefik.toml and /var/run/docker.sock

Building an CI/CD pipeline from VSTS to Azure-container-service I've ran into an issue mounting the traefik.toml and the docker.sock file.The deployment uses an SSH tunnel to create a folder /Deploy/...
1
vote
1answer
507 views

Error creating TLS config after updating Traefik to v1.3.6

I'm attempting to update from Traefik v1.2.3 to v1.3.6 on Kubernetes. I have my TLS certificates mounted inside of the pods from secrets. Under v1.2.3, everything works as expected. When I try to ...
0
votes
1answer
39 views

Setting an environmental variable in a docker-compose.yml file is the same as setting that variable in a .env file?

I'm trying to set a specific environmental variable in my docker-compose.yml file. I don't think my docker-compose up is registering/reading it correctly.apigateway.web:image: traefik...
0
votes
0answers
224 views

Traefik PathPrefixStripRegex frontend rule doesn't seem to set the path properly

I've configured a rule for a website that's deployed with a path prefix that needs stripping when routing to the backend.I want to be able to capture the prefix, optionally with the trailing slash....
0
votes
1answer
1k views

traefik - simple modification of URL

I want to modify the endpoints of my URL, while it goes from traefik to one of my containers. What I want is this.My URL looks like this - http://backend/asd and it should point to one of my ...

angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,