Questions tagged [traefik]

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

2
votes
0answers
6 views

Duplicate request with Kong or Traefik

I'm need send with Kong (Community Edition) one webhook ( request ) for two apis. The problem is i use one webhook of third parties, and can only specific one URL ( this not negotiation ). I use in ...
2
votes
0answers
8 views

Traefik on Kubernetes does not keep path over redirect

I have a Traefik on Kubernetes that acts as ingress and load balancer. I have a ingress setup like this: { "apiVersion": "extensions/v1beta1", "kind": "Ingress", "metadata": { "...
1
vote
0answers
7 views

Traefik: Undefined backend for frontend

Facing an issue I can't really solve. New to Traefik and the load balancing world really. I have tried searching on the gh issues but haven't found any conclusive answers. https://gitlab.com/snippets/...
1
vote
0answers
6 views

Can't get traefik to work as reverse proxy on docker swarm

I set up a cluster of 3x Raspberry Pi 3 running Raspbian Stretch Lite and Docker 18.06.1-ce. Swarm is initialized and working fine so far. I read the docs on setting up traefik on docker swarm (1, 2 ) ...
0
votes
0answers
11 views

Traefik + Swarm WITHOUT DOCKER

I want to deploy Traefik to redirect streams from wan to an internal docker lan. My problem is that my router where Traefik works is a bananapi R2 with openwrt, and Openwrt hasn't docker in repos. So ...
0
votes
0answers
21 views

Laravel Session is not persistent in staging enviornment

I have created a simple laravel app. Session is persistent in local but in my staging enviornment it is not persistent. I am using nginx in local and traefik in staging.
0
votes
0answers
8 views

How to change access log time in Traefik Proxy

I have been looking for a long time where I can change the time parameter of the traefik access log. Is there any way to do this? I was able to change the traefik log, but not its access log, is ...
0
votes
0answers
15 views

Traefik and Angular

How can I build a production version of a docker app with the url: www.domain.com/myapp, where myapp is one of many services managed by traefik. I've tried base-href = myapp, but then I cannot get any ...
-1
votes
0answers
6 views

Traefik blocks requests that take too long?

I am running a web app under traefik that processes an uploaded file and then render the associated results page to the user. The processing of the file and generation of results takes around 10 ...
0
votes
0answers
23 views

Traefix - How to log the request_body

I am new to Traefik and trying to find a way to capture and log the request_body. In Nginx by adding $request_body in nginx.conf it will log the body in access.log. Is this possible in Traefix ? ...
1
vote
1answer
22 views

How to run traefik as rc.d background service on FreeBSD? [on hold]

I've got created service file: /usr/local/etc/rc.d/traefik: #!/bin/sh # . /etc/rc.subr name=traefik rcvar=traefik_enable command="/usr/local/sbin/traefik" ...
0
votes
1answer
33 views

Can't run Traefik load balancer without hostPort

I am trying to setup traefik loadbalancer in the google cloud engine. My configuration: kind: Deployment apiVersion: extensions/v1beta1 metadata: name: traefik-ingress-controller namespace: ...
-3
votes
0answers
23 views

Nginx containers behind Traefik in Docker Swarm

I'm currently planning how to create Docker Swarm for multiple stacks. The idea is we want to have general purpose Swarm for smaller applications we develop so we can just push them in and have them ...
0
votes
1answer
29 views

Allow single ingress to run HTTP without forcing SSL using Traefik Ingress Controller

I have Traefik set as my Ingress controller via the helm chart on version 1.5.4. I have LetsEncrypt enabled and SSL set to Enforced so all of my exposed services are forcing SSL as desired. I have ...
1
vote
1answer
29 views

Traefik instance loadbalance to Kubernetes NodePort services

Intro: On AWS, Loadbalancers are expensive ($20/month + usage), so I'm looking for a way to achieve flexible load-balancing between the k8s nodes, without having to pay that expense. The load is not ...
1
vote
0answers
25 views

traefik docker-compose containers cross communication

So this is my docker-compose file version: '3' networks: traefik-net: driver: bridge services: # The reverse proxy service (Træfik) reverse-proxy: image: traefik # The official ...
2
votes
1answer
59 views

Traefik routing to both known and wildcard subdomain on a single domain

Is it possible to have a wildcard subdomain that does not include a specific subdomain? *.mydomain.com OK login.mydomain.com SKIP I cannot access my login container when using a wildcard on my app ...
0
votes
1answer
52 views

Traefik & Keycloak: error SSL_ERROR_RX_RECORD_TOO_LONG

I use an HAProxy to redirect all requests from 80 port to a 443 and using a NodePort to enter on a traefik-ingress-controller (v1.6.6, inside a Kubernetes cluster). Here the HAProxy.conf: frontend ...
0
votes
1answer
53 views

Traefik with docker-compose, LetsEncrypt, and multiple domains

I'm trying to do a run a ghost image through docker-compose using traefik as the reverse proxy. I have two domains, sub.foo.com and bar.com. After docker-compose up -d is called, the container is ...
0
votes
1answer
20 views

How to force www with Traefik

Ive been learning Traefik to use as a reverse proxy for various Wordpress sites Im running in Docker containers on a server. Currently I have 2 domains setup with Wp on the same ip and are working ...
0
votes
1answer
22 views

Multiple paths in Traefik pointing to the same path in backend in Kubernetes

Is there a way to make a kubernetes service available under multiple paths via traefik ingress, but sending requests to the backend only with one path? e.g. https://example.com/mainpath/api and https:...
0
votes
1answer
42 views

Configuring Docker with Traefik, Nginx and Laravel

I am trying to figure out how to setup a simple stack for development and later deployment. I want to utilize Docker to serve Traefik in a container as the public facing reverse-proxy, which then ...
1
vote
1answer
28 views

Let's Encrypt on Traefik with Helm

I am trying to install Traefik as an Ingress Controller for my self-installed Kubernetes cluster. For convenience I try to install the helm chart of Traefik and this works excellent without the acme ...
1
vote
2answers
40 views

Traefik with Service Fabric — failed to connect to Service Fabric server

I have deployed Traefik on my Azure Service Fabric cluster with the following configuration: # Enable Service Fabric configuration backend [servicefabric] # Service Fabric Management Endpoint ...
2
votes
2answers
42 views

Traefik Ingress (Kubernetes) not receiving letsencrypt certificates

I've configured Traefik (helm chart) with let'sencrypt ACME, but I'm not receiving any certificates. The Traefik Ingress is exposed on port 80 and 443 to the internet. traefik.toml logLevel = "INFO" ...
1
vote
2answers
27 views

Traefik Kubernetes: Expose non Kubernetes service

I'm using Kubernetes with Traefik as Ingress Controller. I've some web services within my network that can't be containerized yet. Therefore I'm looking for a way to expose my non-Kubernetes web ...
0
votes
1answer
67 views

SSL passthrough with Traefik

I need to send the SSL connections directly to the backend, not decrypt at my Traefik. The backend needs to receive https requests. I tried the traefik.frontend.passTLSCert=true option but getting "...
0
votes
1answer
26 views

Mixture of host and path based routing rules in traefik docker labels

I'm trying to create a frontend rule using docker labels that directs both a couple host based routes and some path based routes from a domain to one backend but I'm having trouble getting the right ...
0
votes
1answer
49 views

502 Proxy Error ( docker + traefik + apache )

I'm trying to setup traefik for SSL termination on my local development instance. Following up this guide I have the following configuration. docker-compose.yml version: '2.1' services: mariadb: ...
0
votes
0answers
13 views

https without sni give default cert

I'm using the latest traefik version in a rancher environment. I'm running a traefik behind an haproxy configured in tcp mode. This haproxy is configred with some static ips. I'm trying to access the ...
1
vote
1answer
45 views

Kubernetes ingress rules: How to use wildcard and specific subdomain together

I want Ingress to redirect a specific subdomain to one backend and all others to other backend. Basically, I want to define a rule something like the following: If subdomain is foo.bar.com then go ...
0
votes
1answer
51 views

Azure Service Fabric with Træfik - with Azure LB?

I’m considering integrating Træfik in my Azure Service Fabric cluster. Reading all documentation available for this combination I couldn’t find an addressing to the Azure LB. It seems to me that it ...
0
votes
0answers
18 views

HowTo: Docker Swarm - Traefik redirect HTTPS to NGINX-Service

I've some configuration issues on my swarm cluster. I have a webserver running on two nodes with nginx configured to force SSL. Now i need session persistence and therefore using Traefik as reverse ...
0
votes
0answers
37 views

Traefik failing with docker-compose and letsencrypt

I had a docker-compose setup as per the instructions at: "https://www.smarthomebeginner.com/docker-home-media-server-2018-basic/" That was working perfectly and decided to set up a traefik reverse-...
0
votes
1answer
26 views

Monitor Spring Boot App running in Docker via JMX

I am using docker swarm & Traefic to manage and deploy my containers. Unfortunately, I didn't set it up and not sure details, all I do is just deploy my app there and everything taken care of. I ...
1
vote
1answer
29 views

Traefik HA in Docker Swarm Mode

How does Traefik work in Docker Swarm Mode? From what I'm reading here and here, Traefik will be installed as part of the managers. If there's 3 managers and each Docker Swarm manager is setup on a ...
0
votes
0answers
24 views

Backend not reachable behind Traefik in Docker Swarm setup

I'm trying to connect my backend (python, port 9000) to the outside through a Traefik reverse proxy and SSL termination. This is my first Traefik experience so I may still miss something after 3 hours ...
0
votes
0answers
24 views

https redirect + PathPrefixStrip doesn't work as expected

Problem I've created a subdomain "cloud.example.com", which is redirected to "example.com/nextcloud". Traefik accepts this request and forwards it to my Nextcloud Docker container. This works fine ...
1
vote
1answer
40 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 ...
2
votes
1answer
46 views

Kubernetes ingress for leader follower system

I have a kubernetes service that works in a leader/follower fashion, so only one of 2 pods (for HA) can accept the connection. I want to make my service publicly available with traefik ingress ...
0
votes
1answer
57 views

Traefik,multiple frontend rules to one docker container

I did search the manual but really couldn't make it very clear, even using the keywords to google that. I need to proxy the /_ to the API container, some rule like that www.mydomain.com/_ => API ...
-1
votes
0answers
23 views

Squid proxy behind Traefik

Is it possible to run a Squid proxy behind Traefik? Playing around with it, I seem to have a couple of issues. For the rule to match the frontend to the backend Squid container, for the moment I am ...
0
votes
1answer
55 views

Scraping traefik metrics from prometheus

I am trying to scrape traefik metrics from prometheus. Traefik (latest) is hosted as a service on a swarm cluster, and the prometheus metrics are activated. The matching endpoint is 10.200.1.1:8088/...
1
vote
1answer
24 views

Docker Compose File cant get .env Variables

I am using docker-compose to run a traefik container. The Domain of this Container should be set by an environment file but everytime i start this service it says: WARNING: The DOMAIN variable is not ...
0
votes
1answer
42 views

How can I get traefik to work on my cloud architecture?

Okay, so spent a day on my EC2 with Traefik and Docker set up, but doesn't seem to be working as described in the docs. I can get the Whoami example running but that doesn't really illustrate what I'm ...
1
vote
1answer
32 views

traefik expose internal metrics

I would like to expose internal metrics of traefik. After reading the documentation I created the following configuration file: logLevel = "INFO" [entryPoints] [entryPoints.http] address = ":...
0
votes
1answer
91 views

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: ...
0
votes
0answers
65 views

Can't access site proxied by traefik from docker container

I am able to access the sites from the serving machine, if I use the port number; for example http://localhost:8080 but if I try from outside my lan with url it won't work. I have a frontend rule for ...
0
votes
0answers
15 views

Traefik cookie domain

I'm using traefik with docker swarm and I have a backend which handle multiple subdomain, let's say : a.domain.local b.domain.local Theses 2 urls point to the same webapp. My issue is when I'm ...
0
votes
1answer
44 views

VueJS router history mode with Traefik

I need to do rewrite a URL of my application like this: https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations I'm using Traefik as a reverse proxy and Docker ...