17 questions
-1
votes
2
answers
286
views
How do I automatically retry a request in traefik when the downstream service isn't yet ready [closed]
I've configured Traefik within a Kubernetes (k8s) cluster as the ingress. However, I have some legacy containers that are being exposed that don't behave as well as one would want from a modern ...
2
votes
0
answers
574
views
Configure OpenProject with two domains using Traefik and Docker
I'm setting up OpenProject in Docker with Traefik for reverse proxying. I need OpenProject to be accessible through two domains.
The primary domain is foo.local, where everything should work as usual.
...
1
vote
1
answer
735
views
Protect Traefik v3 Dashboard by BasicAuth
I fail to protect the Traefik v3 dashboard using basic auth, this is what I tried:
reverse-proxy:
# official v3 traefik docker image
image: traefik:v3.1
# enables web UI and tells ...
0
votes
1
answer
252
views
Traefik ForwardAuth middleware is not enabled in a simplified Docker Compose example
I'm trying to adapt this example, https://github.com/thomseddon/traefik-forward-auth/blob/master/examples/traefik-v2/swarm/docker-compose.yml, to run a simplified example of Traefik ForwardAuth middle ...
0
votes
1
answer
42
views
Traefik's StripPrefix with an app that doesn't support deployment on subdirectory
I have this app running on my homeserver that doesn't support a deployment on a subdirectory (e.g homeserver.local/app)
Checking the documentation for Traefik's StripPrefix middleware it says this:
...
0
votes
2
answers
1k
views
Traefik CORS Middleware not respecting accessControlAllowOriginList
I have created following middleware for API endpoint
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: cors-api
namespace: api-staging
spec:
headers:
...
0
votes
0
answers
223
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://...
0
votes
1
answer
158
views
Redirect naked to www with traefik
I want to redirect example.com to www.example.com.
In the traefik container's docker-compose.yml, I defined a redirection middleware that I can use from multiple services:
traefik:
image: traefik
#...
5
votes
2
answers
2k
views
nginx `proxy_redirect` in traefik (redirect without changing url)
basically how this will look like in traefik if it is possible:
location /blog/ {
proxy_pass https://blog.example.com/;
proxy_redirect https://blog.example.com/ https://www.example.com/blog/;...