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
10
votes
1 answer

Customize helm chart from stable repository

So I am using the helm chart stable/traefik to deploy a reverse proxy to my cluster. I need to customise it beyond what is possible with the variables I can set for the template. I want to enable the dashboard service while not creating an ingress…
Hedge
  • 16,142
  • 42
  • 141
  • 246
10
votes
6 answers

traefik permissions 777 for acme.json are too open, please use 600

Yes, I get this when I try to run traefik with https. Problem is I mount the dir on my Win7 machine but I cant chmod the file. The mount is working but file permissions are off. looks like this: volumes -…
mapa0402
  • 454
  • 1
  • 8
  • 24
10
votes
1 answer

how to configure traefik as a reverse proxy for a single domain and multiple path

I am configuring Traefik to work as a reverse proxy in my development environment. I currently have applications running on different ports, and different PATHs. My Environment: Traefik is running on a Host (192.168.0.10). Listening on port 80, 443…
10
votes
1 answer

Why is my traefik.toml file not be read by docker-compose configuration

My goal is to protect the traefik front-end with basic authentication. I am running Traefik version v1.4.3 built on 2017-11-14_11:14:24AM in a Docker container. My docker-compose.yml file looks like this: version: "3" services: proxy: image:…
Ralph
  • 4,500
  • 9
  • 48
  • 87
10
votes
2 answers

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 to my traefik.toml file: [[acme.domains]] main…
OpenPrivacy
  • 101
  • 1
  • 4
9
votes
3 answers

Use Environment Variables within a Traefik dynamic configuration

I am trying to build a Traefik dynamic configuration that has a rule for "Host(app.localhost)" in development but uses "Host(realname.com)" in production. I'm also using Docker but I don't think that is relevant to my question. My question is: is…
adam-beck
  • 5,659
  • 5
  • 20
  • 34
9
votes
2 answers

Docker traefik PathPrefix with StripPrefix Middleware always throws HTTP_502

I have a swarm service container, exposing port 5500. In the container, there is a web UI on https://localhost:5500/app. My service is called service1. I am using a traefik 2 proxy and I want the web UI of my service1 to be available on…
tigu
  • 731
  • 1
  • 7
  • 20
9
votes
1 answer

Traefik 2.0+ TCP and postgres

I am trying to setup traefik for routing postgres instances. I have figured I have to use the new TCP feature in treafik 2.0. However I am struggling to figure it out. Anyone got any tips or working examples? My staring point is the "getting…
marfagerland
  • 109
  • 1
  • 6
9
votes
4 answers

Traefik path based routing in kubernetes ingress not working as expected

I am trying to use the path based routing mechanism provided by Traefik ingress controller in Kubernetes but I have some issues with the url rewriting. My [UPDATED] configuration is as follow apiVersion: extensions/v1beta1 kind: Ingress metadata: …
Asa
  • 173
  • 2
  • 7
9
votes
1 answer

How to log request_body with traefik?

How to config traefik to log request_body in logfile? my config file is as below: traefik.toml logLevel="INFO" defaultEntryPoints = ["http", "https"] [accessLog] format = "json"
Hillbun Ng
  • 91
  • 3
9
votes
0 answers

How to enable Client Certificate Authentication with Traefik & Kubernetes?

I've been using Traefik for automated https on Kubernetes cluster and it has been working great! Now, I actually want to disable the termination at the Traefik level and just let my backend handle https as well as client certificate authentication.…
Pii
  • 301
  • 4
  • 15
9
votes
2 answers

How to config upload body size restriction in traefik?

I'm using traefik docker image v1.5, and when I try to upload a big file (like 1GB), traefik closes the connection and logs: exceeding the max size 4194304 So is there any way to modify/remove this default restriction?
Agas
  • 157
  • 2
  • 7
9
votes
1 answer

Traefik as a simple Http Reverse Proxy not working

I am using Traefik as HTTP reverse proxy. I have two servers created using spring boot. Both servers are working properly on port 8081 and 8082 Traefik web UI is visible in port 8080. What I wanted is to redirect http://localhost:7070/ to…
Kasun Kariyawasam
  • 2,306
  • 3
  • 21
  • 35
9
votes
3 answers

How to proxy WebSockets in Traefik?

I'm trying to set up Upsource to work behind Traefik: https://www.jetbrains.com/help/upsource/proxy-configuration.html traefik is listening to port 8008 and 8443 (since 80/443 will be used for another): --entryPoints='Name:http Address::8008…
quanta
  • 3,960
  • 4
  • 40
  • 75
8
votes
2 answers

Kubernetes not getting Letsencrypt Cert

I have installed microk8s, traefik and cert-manager. When I try to receive a letsencrypt certificate, a new pod for answering the challenge is created, but the request from the letsencryt server does not reach this pod. Instead, the request is…
Peter
  • 2,051
  • 1
  • 15
  • 20