Questions tagged [traefik]
Træfɪk is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease
2,273
questions
0
votes
0
answers
11
views
How to free up port 443 in VPS to use with traefik when it's being used by nginx out-of-the-box?
As a disclaimer of my ineptitude, this is my first time having to deploy anything into a VPS. I have to deploy an API that uses docker images to a Ubuntu VPS from Hostinger that we rented. We did some ...
0
votes
0
answers
14
views
Traefik and authelia not working properly
I am new with authelia, traefik, and am using docker compose and try to configure these apps to run with a self signed certificated (for now).
So far I have this:
at docker-compose.yml
---
version: '3'...
0
votes
1
answer
24
views
Traefik error adding file watcher file not found
I am working with docker compose.
I am running some containers with traefik, whoami and authelia.
cat docker-compose.yml
---
version: '3'
services:
traefik:
image: traefik
container_name: ...
0
votes
0
answers
13
views
websocket traffic through traefik with forward auth
I have set up a local kind cluster with traefik 2.10.5 and the forward-auth middleware (https://github.com/mesosphere/traefik-forward-auth) which authenticates to a local Keycloak instance.
To be able ...
0
votes
1
answer
27
views
Traefik v2: 404 Page not found
I am having issues routing my traffic through traefik v2 and getting a 404.
I have an application which runs under Server A) and Traefik which runs under Server B). Both Server can communicate to each ...
0
votes
0
answers
11
views
Issue deploying ArangoDB Operator behind Traefik on Kubernetes [closed]
When attempting to deploy the ArangoDB Operator with Traefik as a reverse proxy, I encounter the following error: "Client sent an HTTP request to an HTTPS server." I tried to address this ...
1
vote
0
answers
50
views
Traefik allowing users to their domain names to my service
I am using Traefik as a reverse proxy and AWS Route 53 Hosted zone for my DNS. I want to allow users to connect their domain or subdomain to my service.
I have read this post with a lot of attention:
...
0
votes
0
answers
30
views
Traefik v2 TLSStore not used and no error messages in the logs
Environment
Traefik-Version: 2.10.5
Kuberntes-Version: 1.27.4
Given configurations
Secret: ingress-controller-traefik-cluster-cert
apiVersion: v1
kind: Secret
metadata:
name: ingress-controller-...
1
vote
1
answer
27
views
Traefik can't proxy to internal docker
I'm trying to setup Traefik so that when I hit mydomain.com, it will proxy the call to an internal docker container, but I'm so far unable to make it work. The internal container admin-webui contains ...
0
votes
0
answers
19
views
Trouble manually creating route with traefik 2
I've had traefik up and running for several months and it discovers and routes to my docker containers perfectly fine (based on labels). Recently I've tried manually adding a route to a dynamic config ...
1
vote
2
answers
59
views
Traefik v2 404 page not found for docker compose service
Here is a docker compose file
version: "3"
networks:
vester-net:
name: vester-net
services:
traefik:
image: traefik:v2.10
volumes:
- /var/run/docker.sock:/var/run/...
0
votes
1
answer
69
views
Failed to watch *v1.Ingress: failed to list *v1.Ingress: ingresses.networking.k8s.io is forbidden
I made a simple demo app that is running locally via minikube and I am trying to get Traefik to route traffic to app-1 and ´app-2`. However I am running into an error that reads.
E1118 08:29:28.397486 ...
-1
votes
0
answers
38
views
Traefik configuration - Simple (probably) things i don't understand
I have a traefik config that is working but i don't like it as i feel it messy and i don't understand everything.
So i start a new one, from the begining, following the Traefik doc.
And as soon as i ...
0
votes
0
answers
27
views
Traefik - Bad Gateway after login
I have several containers (nextcloud, mariadb, vaultwarden...), including Traefik for a reverse proxy.
I use Traefik to access my NAS too, which is another device on my LAN (192.168.0.27). I want to ...
0
votes
0
answers
26
views
Nexus Setup in Kubernetes for Docker Hub Caching via Traefik IngressRoute
I'm currently facing a challenge with setting up Nexus in a Kubernetes environment to cache Docker Hub using a Traefik IngressRoute, and I'm reaching out for some expert advice.
My primary issue is ...
0
votes
1
answer
45
views
traefik ingress is not showing the clientAddr external IP when externalTrafficPolicy set to Local
We have the latest traefik [1] deployed with helm into our EKS cluster. We want to setup whitelist on IP for ingress. So we need client address to be external IP.
In Ingress like Nginx. It works when ...
-1
votes
1
answer
57
views
How to customize Traefik error pages on docker-compose?
Here is my case, I have an environment of let's say 2 docker containers:
Javascript application
Traefik
While JS app is building, container is "not available yet". So traefik will display ...
1
vote
0
answers
42
views
Cannot acces container behind traefik inside a podman's pod
After reading the docs, I understand that a podman pod makes the communication between containers easy since they can find each other via localhost. It can be summarized as in the picture below:
I ...
0
votes
0
answers
12
views
Traefik middleware does not work for minikubeminikube traefik middleware
Everything seems normal,but the middleware does not add a header to the request.
I don't know where the problem is.If you need additional information, please let me know.
Thank you very much for your ...
0
votes
0
answers
104
views
Equivalent regex without negative lookahead
I am trying to setup a Traefik RedirextRegex middleware. But since that uses Golang's STD re lib, it does not support negative lookaheads (?!).
All but the following URLs must be redirected:
https://...
1
vote
1
answer
69
views
Expose Kube API server via ingress running on the same cluster. SNI
I have a K3S cluster with Traefik ingress. KubeAPI server is exposed on Port 6443 by default. I would like this to be hosted on port 443 - same port on which ingress runs, so via the ingress.
I tried ...
0
votes
0
answers
102
views
Using traefik to route a port to another traefik instance
I'm working with a machine with only port 443 open. I have multiple services on this machine and I am using traefik as a port forwarding system. Currently, I can operate and run my Mesh instance ...
0
votes
0
answers
35
views
Cannot ping external server within traefik
Due to a problem with my internet provider, I had to move many of my running services from my local NAS to a vServer at IONOS. Everything is running in Docker. I am using Traefik as a reverse proxy. ...
0
votes
1
answer
42
views
Traefik ingress with kind and metallb
I'm trying to setup Traefik ingress in Kind cluster with Metallb for LoadBalancer services using Ubuntu.
I'm not an expert in networking settings tbh.
Configuration files
# kind-config.yaml
kind: ...
0
votes
0
answers
31
views
Container without port mapping is accessible
I have a small setup with traefik:v2.10-5 and pgadmin:7.8 in docker-compose and a custom subnet.
Subnet: 172.18.0.0/16, gateway: 172.18.0.1
Traefik is at the fixed ipv4 172.18.0.2, with an entrypoint ...
0
votes
0
answers
38
views
Is it possible to keep AWS API Gateway custom domain when using integration proxy?
I configured AWS API Gateway with HTTP proxy integration to an Application Load Balancer who is in front of an AWS EKS cluster. This load balancer is an ingress controller to the cluster and is ...
0
votes
1
answer
32
views
Traefik and URL redirects, how it can be done (K3S environment)?
I have quite simple scenario:
Ingress --> Service --> Pod with some Web service
What is needed:
somedomain.com/prefix1 --> Service1
somedomain.com/prefix2 --> Service2
somedomain.com/...
0
votes
1
answer
74
views
Minio 403 Forbidden HEAD request using saveas (FileSaver.js)
I try download file using FileSaver.js (saveAs(minio-prefetch-url,'file.pdf')) but request HEAD is send and minio response with 403:
Status Code: 403 Forbidden
Referrer Policy: strict-origin-when-...
0
votes
0
answers
38
views
Traefik Ingress does not work for other paths
I have a backend service which responds to /
I run it on the ingress route myhost.com/client
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Values.name }}-ingress
namespace: ...
2
votes
1
answer
67
views
Preserve query params duiring the redirect with Traefik
Subj, I'm trying to receive query params after redirecting from Traefik, to accomplish my flow. I expected it out-of-the-box (if don't specify details request details would be preserved) - but it ...
1
vote
0
answers
43
views
Traefik stuck in restarting, unclear error
I'm trying to run a traefik image in docker compose, and it was working before, but since I pulled the images, the only log I get from docker compose logs traefik is command traefik error: field not ...
0
votes
0
answers
48
views
Cannot redirect with forwardauth Traefik middleware
How to actually switch(redirect) to another server having login page with Traefik ForwardAuth ?
I'm using the following docker labels:
'traefik.http.routers.my-route.rule=Host("main.int")'
'...
0
votes
0
answers
78
views
Use Traefik 3 to proxy MariaDB
I'm trying to deploy a MariaDB database using docker swarm, and expose it with security using traefik as reverse proxy. I already have done something similar with Postgres, but I haven't had any luck ...
0
votes
0
answers
45
views
K3S multi node clsuter - application not accessible . gateway time out error
I have the below K3S set up and have ghost application running on baremetal server. I am accessing the application from my myblog.mysite.io .
When I access the site I get a 504 gateway timeout error. ...
0
votes
0
answers
17
views
Dynamic configuration for Traefik inside Redis
What does the configuration for Traefik inside Redis need to look like and what type of entity does it need to be stored in (e.g. list, hash, bucket). I have not been able to find any documentation ...
0
votes
1
answer
59
views
Restricting direct access to angular chatbot app
I've got an Angular main app running on an Nginx pod in the Azure Kubernetes Cluster, and inside the app there is an iframe. When we click on the iframe, it opens a separate chatbot Angular app that ...
0
votes
0
answers
7
views
Traefik dashboard not reachable
While trying to setup a Traefik (2.10.4) reverse-proxy the dashboard doesn't want to goes up.
May anyone help me ? Spent the whole night on it without success x(
Still getting an 404 Not found...
The ...
0
votes
0
answers
47
views
How to show errors in the Traefik Dashboard?
My Traefik (v2.10 and v3.0) Dashboard never shows any errors, even when I intentinally make some, the router will either disappear from the success tab (e.g. for route definition error) or just act as ...
1
vote
0
answers
174
views
Using Traefik (v3) and Postgres with TLS Ingress
I am trying to add entrypoint and TCP ingressroute for my postgress, it is not working.
I am running Postgress in non SSL mode.
TLS termination is handled by Traefik.
I am using beta v3 Traefik
I ...
1
vote
0
answers
52
views
RedisInsight using Traefik does not work with PathPrefix
Thanks in advance.
Here is my docker-compose.yml
redis:
image: redis/redis-stack
environment:
ALLOW_EMPTY_PASSWORD: yes
volumes:
- redis:/data
expose:
- 6379
...
0
votes
1
answer
185
views
Traefik persistent volumes with docker compose
I want to setup a docker compose environment running a backend, frontend, and a Traefik image. The Traefik environment should use a persistent volume to store the certificates. Otherwise, Traefik will ...
0
votes
0
answers
27
views
How can i enable https on custom port using traefik using the same domain for multiple services in Docker-compose using LetsEncrypt
I have a domain name api.test-external.com hosted in cloud dns server. Now i want to have enable https like https://api.test-external.com: port for multiple services using same domain. Here is my ...
0
votes
1
answer
66
views
Docker + traefik + varnish for magento 2 app
I would like to know if it's possible to configure for a local usage a docker compose with both traefik and varnish.
I have created my magento 2 image with nginx on the port 8080.
When I use traefik ...
0
votes
0
answers
109
views
Traefik with multiple domains and Cloudflare origin certificate: "tls: unknown certificate authority" error
I've set up Traefik and it proxies most of my containers on mymaindomain.com. However, there are a couple other containers that need to be available on their own TLD. All 3 are behind Cloudflare, set ...
0
votes
0
answers
26
views
All connections on Windows Server are going through the Traefik reverse proxy set up for a Docker app replacing the SSL certificate
I have a Windows Server which is serving a Docker application with containerized Flask apps to our local network. I am using a Traefik reverse proxy to direct traffic to the correct container.
The web ...
1
vote
1
answer
286
views
No default certificate, fallback to the internal generated certificate Traefik
I'm suffering to attempt to configure SSL certificates with Traefik reverse proxy.
I am providing a dynamic configuration via a dynamic-config.yml and traefik is pretending that no certificates are ...
0
votes
2
answers
27
views
Accessing certain container replica within Docker Swarm deployment
We have a Java application server running in a container with 2 replicas. Container network stack is Traefik. Additionally we have Apache HTTP Server with GSSAPI module for Kerberos SSO authentication....
1
vote
1
answer
69
views
how to forward the url query parameter access token when using auth forward in traefik
I am using traefik auth forward to do some authorize, this is the middleware configure look like:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: jwt-token-auth
namespace: ...
0
votes
0
answers
17
views
is there a whitelist when forward auth in traefik 2.10
I am using traefik 2.10 to do the jwt token verify, I put the jwt token in header. Fisrt I created the middleware like this:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: jwt-...
0
votes
0
answers
73
views
How to redirect traffic from reverse proxy to ingress
I'm on a University project and we have a k3s cluster. We are trying to install harbor as our internal registry with helm. We are forced to use a nginx reverse-proxy running on port 80 and 443. I have ...