Questions tagged [traefik]
Træfɪk is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease
1,973
questions
0
votes
1
answer
26
views
SSL Offloading Problems since Shopware 6.4.12.0
We are running Shopware 6 on a Apache HTTP webserver in Docker on our CI. Then Traefik is doing the SSL termination.
Now on a new Shopware 6.4.12.0 setup we have the problem, that the admin interface ...
1
vote
0
answers
43
views
Mirror traffic using Traefik 2
We are using Traefik v2 running in kubernetes in a shared namespace (called shared), with multiple namespaces for different projects/services. We are utilising the IngressRoute CRD along with ...
0
votes
1
answer
21
views
mTLS (clientAuth) per Kubernetes Traefik Ingress Route
I have multiple services with working ingress routes using traefik 2.6
All ingress routes work as expected using annotations and I get no errors showing when applying the configuration with args ...
0
votes
1
answer
18
views
Traefik ignores IngressRoute and Ingress resources in k8s
I deployed Traefik helm chart and created IngressRoute for dashboard and Middleware for Basic Auth, instead of dashboard I see 404 error.
Ingress also returns 404.
IngressRoute and Ingress also don't ...
0
votes
0
answers
14
views
Traefik getting router logs
I am trying to count the incoming requests to each of my APIs in a Kubernetes app using Traefik. For this, I would like to use Traefik's Router Metrics which by default are disabled. The docs (https://...
0
votes
0
answers
10
views
Duplicate Entry on Traefik - HTTP Routers, Services, Middlewares
I am testing Traefik 2.0 in Azure Service Fabric, i am getting duplicate entry for HTTP routers, Services and Middlewares. Here with sharing the traefik.yaml and dyn.yaml which used. Please let me ...
0
votes
0
answers
13
views
How to set custom query string parameters in Traefik - Middleware - errors - query
we are using following configuration for our maintenance page in dynamic yaml file
middlewares:
test-errorpage:
errors:
status:
- 400
- 402-599
service: serviceError
query: &...
0
votes
0
answers
31
views
Can't get HTTPS working with Azure Front Door, AKS and Traefik
I'm trying to setup Azure Front Door Premium in front of an AKS cluster with Traefik 2.5.3 as an ingress controller.
This is the relevant configuration in AFD:
I've got the following IngressRoutes ...
0
votes
0
answers
8
views
Changing ISP traefik doesn't work anymore
I just moved my server from one place to another and while everything is working on my reverse proxy. (Traefik generates ACME Certificate, docker containers are up and healthy)
I can't seem to access ...
0
votes
0
answers
31
views
Nginx - dynamic root settings causes insecure request
After adjusting the traefik/nginx settings to dynamically change the root if the access is by a normal user or by a Bot, the lighthouse test started to point out insecure access.
Here is the current ...
-1
votes
0
answers
55
views
Traefik: Websockets, Docker and port 443
I have multiple docker container for an application.
Traefik for Reverse Proxy
Nginix for the React Fontend
nodeJS for a Websocket Server
Strapi for Backend
The React frontend needs to run on port ...
0
votes
0
answers
33
views
Kubernetes dashboard through traefik
I have a Kubernetes cluster (release 1.23.4) working using Traefik(release 2.7.0).
I would like to access the kubernetes dashboard through IngressRoute Traefix, everything seems to work correctly no ...
1
vote
1
answer
41
views
No connection between the two containers
I have two containers that must connect to each other,
but when I want to fetch data from another container get ENOTFOUND error!
this code works on my local system but does not work in the container!
...
0
votes
0
answers
40
views
Traefik API endpoint throwing 404 page not found with basic configuration
I am using traefik successfully to host web services locally on my LAN. I would like to look at the dashboard supplied by traefik in a secure way (Without using insecure=true config).
According to the ...
0
votes
0
answers
21
views
Traefik Ingress Mirroring on Kubernetes per Annotation
According to this, it is possible to configure mirroring for a Traefik server.
Now I am using a Traefik ingress controller and want to configure mirroring. One possible solution seems to be using the ...
0
votes
2
answers
44
views
Traefik different ports for different Docker containers
I'm new to Traefik and I want to expose two containers to two different ports via Traefik.
The first container is a ckan service which run on port 5000
The second container is a jupyter notebook ...
0
votes
0
answers
16
views
Traefik won't add prefix
I'm trying to set up my first homelab.
I've already got a few services running as docker-containers and also got Traefik working with them.
I now want to do the same with my PiHole instance. I've got ...
1
vote
0
answers
35
views
CFG post-order panic: reflect: embedded type with methods not implemented if there is more than one field
I am trying to build a Traefik plugin in local mode based on https://github.com/traefik/plugindemo#local-mode
In this plugin, I am trying to use a library https://github.com/vektah/gqlparser
Without ...
3
votes
1
answer
93
views
How to expose Treafik service status as HTTP endpoint?
I'm using Traefik as a load balancer and I'm trying to write a health check, which will monitor servers within the load balancer service.
I have multiple Traefik instances in different locations and a ...
0
votes
0
answers
10
views
Can't get the deluge interface to show through traefik2 even though working in local
This is my traefik and deluge docker-compose file.
I am expecting https://deluge-tv.$DOMAINENAME to show the deluge interface.
When I use my local network 192.168.1.23:8113 it works as expected (192....
1
vote
1
answer
50
views
Traefik IngressRoute redirect doesn’t work
I have setup following IngressRoute for default path and wp-*
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: external-1
namespace: marketing
spec:
entryPoints:
- ...
0
votes
0
answers
25
views
Unable to use WSS with IngressRoute in kubernetes
I'm unable to use wss with Traefik. I've confirmed that exposing the wss server with a K8s service works, but I get rejected if I try to acces with an IngressRoute
I've created a wss server in NodeJS
...
0
votes
0
answers
46
views
Traefik empty dashboard
I've implement traefik in my production (django, postgresql, gunicorn). All works correct, when i use my /api and /admin, but traefik's dashboard works incorrect (i can sign in and go to /dashboard/, ...
0
votes
0
answers
13
views
Traefik https router 404
I have a working traefik config. Now I want to add an optional https router (API_route_https) for the same resources that are already routed via an existing http router (API_route). But the https ...
0
votes
1
answer
18
views
traefik ingress on ask path routing dose not seems to work. only / works
I have read through almost all the available reported issues, i cannot seems to get traefik path routing to work. yes there are many examples of this. can anyone point me how to debug the ingress ...
-1
votes
0
answers
51
views
Connect to remote docker postgres container
I have a problem to connect an app service to DB from another container. I'm new with Docker.
A) I have a dbms/docker-compose file for my DBMS with :
Postgres service (with default database)
I create ...
-1
votes
1
answer
41
views
Docker containers on same host listening to the same 2 ports
I am trying to make different Python scripts running on different containers , configured with docker compose able to listen to the same ports. Each of this containers (that are 9) should listen to ...
0
votes
0
answers
31
views
Traefik doesnt log to stdout
We’re running the default setup of k3s with traefik as ingress controller, and are having trouble getting traefik access logs working. I have set up a HelmChartConfig in /var/lib/rancher/k3s/server/...
0
votes
0
answers
85
views
Traefik Ingress for External Service Troubleshooting
Need a little assistance please.
I'm trying to get Traefik to act as an ingress for everything in my lab, both K8s hosted pods/services and external services hosted on a Docker host.
I have created an ...
0
votes
1
answer
14
views
Traefik ingress route is not accessible
I have setup the default traefik dashboard example although this is not being exposed. Using kubectl port-forward works. The only thing that comes to mind is that I am using flannel as CNI and my ...
0
votes
0
answers
8
views
How can I use Traefik as proxy
i am using Traefik as a reverse proxy and it works.
Part of my solution I need to have also proxy, is it possible to use Traefik?
can it used as a proxy? can i use the same docker for reverse and ...
0
votes
1
answer
41
views
How do I make it accessible from outside my local k8s through traefik
I'm messing around with kubernetes and I've set up a kluster on my local pc using kind. I have also installed traefik as an ingress controller, and I have already managed to access an api that I have ...
1
vote
1
answer
124
views
Traefik TLS certificate results in "unknown CA" error in curl, works in browsers
I have been given the following files for setting up TLS for a website running on the domain example.com:
example.com.key (containing the private key)
example.com.cer (containing one certificate)
...
0
votes
0
answers
32
views
Unable to exclude Traefik service PathPrefix rule from other host on Docker
I have two Nginx services on Docker that are app1 and app2 and each one has seperated networks. Each one listen to two different Wordpress services and serving them.
I want to apply this rule to the ...
0
votes
0
answers
37
views
Aws ALB Traefik 404 not found with IngressRoute
I deployed my EKS clusters and configure to use Cilium as CNI and for networking. I have an app project setup with ArgoCD in order to maintain all my workloads in my repo. When I deploy my Traefik on ...
0
votes
0
answers
45
views
Unable to securely(https) access the application with traefik in docker-compose
Im new to using Traefik. My docker-compose file is as follows:
version: "2"
services:
api:
restart: always
image: private_repo/middleware:2.0
ports:
- "7000:5000&...
0
votes
0
answers
31
views
How to configure maintenance page in Traefik v1.7.33
We are using Traefik V1.7.33 as Azure ServiceFabric Application, which will perform traffic redirection to the windows containers in VMSS. We need to redirect traffic to the maintenance web page when ...
0
votes
1
answer
56
views
Minio behind Traefik error - Gateway Timeout
I am trying to run Minio behind a Traefik proxy but getting a Gateway Timeout error.
Here is my docker-compose.yml
version: '3.8'
x-minio-common: &minio-common
image: quay.io/minio/minio:latest
...
-1
votes
1
answer
31
views
Traefik get dashboard through domain "http://traefik.example.com/"
I have next configuration, docker-compose.yml:
version: '3'
services:
reverse-proxy:
image: traefik
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/...
0
votes
0
answers
79
views
Traefik serving SSL certificate as invalid
Traefik is setup, redirecting to https and seems to be configured correctly. However, when I try to access my project in the browser, the certificate is untrusted with a NET::ERR_CERT_INVALID error:
...
0
votes
0
answers
41
views
How to redirect requests from one applications to another running in different Kubernetes clusters based on http status codes?
There are two clusters.
There are two applications.
All requests first go to a primary app in one cluster.
If the primary app knows the request (non 404 http response code) it responds appropriately.
...
0
votes
1
answer
81
views
How to make redirection from specific port to domain name in traefik
I am trying to redirect from the specific port of the service to the domain name in traefik.
This is my config in yml file (swarm mode). Here I am trying to automatically redirect from https://...
0
votes
0
answers
49
views
Why I can't enable gzip compression with Traefik?
I don't have any idea, but I can't enable gzip compression...
My infra is small :
NGINX <-> Traefik <-> internet
docker-compose.yml of nginx
version: "3"
services:
p12:
...
0
votes
0
answers
24
views
Traefik routing to wrong location
I have the following URLS:
o.example.com
j.example.com
The idea is, o routes to App1 and j.example.com routes to App2, both have ALB with SSL already setup, so using SSL passthrough
Unfortunately.. ...
0
votes
0
answers
14
views
Inability to access Django Admin page on app deployed with Docker on Digital Ocean, and using Traefik as reverse proxy
I have deployed a Django app to a Digital Ocean Droplet with Docker. I am using Traefik for reverse-proxy. I have configured DO's DNS to point my Domain Name wbcdr.com to the Droplet's public IP. ...
1
vote
0
answers
91
views
Traefik V2 docker provider path /ws routing to external websocket server
Stack:
serverX
docker
traefik
x-site.com
redirect :80->:443
https://x-site.com/* -> x-site docker container
wss://x-site.com/ws proxy -> ws://external.websocket.com:8083/ws HOW TO?
y-site....
0
votes
0
answers
16
views
How to configure traefik kubernetes ingress to restrict specific API paths?
I have a microservice which is deployed to Kubernetes and has following REST APIs:
/abc
/abc/xyz
/abc/{path-param}/def
The traefik ingress is currently configured as below which provides access to ...
0
votes
0
answers
43
views
Share session data between Flask apps in separate Docker containers that are served using a reverse proxy
I have a Docker app running on localhost. There are multiple flask apps each in its own container. One is on the root (localhost) and the others are on subdomains (app.localhost). I use a traefik ...
0
votes
0
answers
35
views
Traefik proxy to s3 site
I'm trying to use Traefik to proxy to an s3 site, but I always get Internal Server Error from Traefik, even if I request /index.html directly, and the logs just display a 500 error with no extra ...
0
votes
0
answers
47
views
Replace string in HTTP response body using Traefik
I have installed a Traefik v2.x reverse-proxy. It receives the request from external apps and pass them to a SOAP API back-end.
The SOAP service respond with a WSDL file. In this WSDL (XML) file (in ...