# Traefik v1

**URL:** https://community.traefik.io/c/traefik/traefik-v1/9.md

[Latest](https://community.traefik.io/latest.md) · [Categories](https://community.traefik.io/categories.md) · [Tags](https://community.traefik.io/tags.md)

---

## [About the Traefik v1 category](https://community.traefik.io/t/about-the-traefik-v1-category/947)

<div class="topic-metadata">

**Author:** [@dduportal](https://community.traefik.io/u/dduportal)\
**Replies:** 0

</div>

This section is for everything related to Traefik v1.x.

---

## [Frontend rule for source IP?](https://community.traefik.io/t/frontend-rule-for-source-ip/26303)

<div class="topic-metadata">

**Author:** [@Hossy](https://community.traefik.io/u/Hossy)\
**Replies:** 2\
**Last updated:** [January 31, 2025, 9:52am UTC](https://community.traefik.io/t/frontend-rule-for-source-ip/26303 "2025-01-31T09:52:21Z")

</div>

I have an application with a /admin endpoint that I only want to make available to internal IPs and have the rest of the application available from all IPs. My first attempt at this is below, which didn't seem to work. …

---

## [Http Remoting requests through Traefik is not load-balancing](https://community.traefik.io/t/http-remoting-requests-through-traefik-is-not-load-balancing/8360)

<div class="topic-metadata">

**Author:** [@jsmith828](https://community.traefik.io/u/jsmith828)\
**Replies:** 1\
**Last updated:** [January 15, 2025, 4:19pm UTC](https://community.traefik.io/t/http-remoting-requests-through-traefik-is-not-load-balancing/8360 "2025-01-15T16:19:27Z")

</div>

Configuration: We are currently using Traefik as an ingress controller for kubernetes (AWS EKS). We are running Wildfly 19 in multiple k8s PODs serving stateless EJBs through Wildfly's HTTP Remoting connector. We have…

---

## [Htpasswd in traefik.toml](https://community.traefik.io/t/htpasswd-in-traefik-toml/915)

<div class="topic-metadata">

**Author:** [@joenas](https://community.traefik.io/u/joenas)\
**Replies:** 1\
**Last updated:** [August 9, 2019, 6:11pm UTC](https://community.traefik.io/t/htpasswd-in-traefik-toml/915 "2019-08-09T18:11:35Z")

</div>

Hey all! I’ve written a guide on installing Traefik together with Docker. It also includes adding the dashboard/API with Basic Auth protection. Previously I had the user/password as a label in docker-compose but moved it…

---

## [Multiple LoadBalancers with Traefik in Kubernetes](https://community.traefik.io/t/multiple-loadbalancers-with-traefik-in-kubernetes/1373)

<div class="topic-metadata">

**Author:** [@tehleet](https://community.traefik.io/u/tehleet)\
**Replies:** 3\
**Last updated:** [December 5, 2024, 9:09pm UTC](https://community.traefik.io/t/multiple-loadbalancers-with-traefik-in-kubernetes/1373 "2024-12-05T21:09:34Z")

</div>

Hello, I have Traefik deployed using Helm in Azure AKS. I have multiple namespaces - dev, qa, test, prod. Atm I have one LoadBalancer with external IP and multiple ingresses. Everything is fine, except now I need to wh…

---

## [Help Needed Defining Traefik Routing Rule in Kubernetes Ingress Annotation (Traefik 1.7.34)](https://community.traefik.io/t/help-needed-defining-traefik-routing-rule-in-kubernetes-ingress-annotation-traefik-1-7-34/21963)

<div class="topic-metadata">

**Author:** [@jbm](https://community.traefik.io/u/jbm)\
**Replies:** 4\
**Last updated:** [September 7, 2024, 11:58am UTC](https://community.traefik.io/t/help-needed-defining-traefik-routing-rule-in-kubernetes-ingress-annotation-traefik-1-7-34/21963 "2024-09-07T11:58:13Z")

</div>

Hi! I'm using Traefik version 1.7.34 in my Kubernetes cluster and I'm struggling to define a routing rule using annotations within an Ingress resource. I need to specify the following routing rule: Rule: (HeadersRegex…

---

## [Usage of HeadersRegexp in a Ingress yaml](https://community.traefik.io/t/usage-of-headersregexp-in-a-ingress-yaml/1573)

<div class="topic-metadata">

**Author:** [@takirala](https://community.traefik.io/u/takirala)\
**Replies:** 2\
**Last updated:** [September 1, 2024, 9:48am UTC](https://community.traefik.io/t/usage-of-headersregexp-in-a-ingress-yaml/1573 "2024-09-01T09:48:00Z")

</div>

How do I use the HeadersRegexp in a k8 ingress yaml ? I have tried various approaches: annotations: traefik.frontend.rule.type.key: HeadersRegexp traefik.frontend.rule.type.value : "Referer,(.\*)(deck)(.\*)" and …

---

## [Ingress doesn't work with connection upgrade](https://community.traefik.io/t/ingress-doesnt-work-with-connection-upgrade/889)

<div class="topic-metadata">

**Author:** [@dfateyev](https://community.traefik.io/u/dfateyev)\
**Replies:** 13\
**Last updated:** [July 2, 2024, 12:26pm UTC](https://community.traefik.io/t/ingress-doesnt-work-with-connection-upgrade/889 "2024-07-02T12:26:14Z")

</div>

We experience issues with one ingress when connection upgrade is present. The request (from a remote "kubectl") is like that: $ kubectl port-forward -v=8 pod/hello-kubernetes-9c7fdbc84-9hnf8 8080 -n default ... I0711 14…

---

## [Error renewing certificate from Let's Encrypt - i/o timeout](https://community.traefik.io/t/error-renewing-certificate-from-lets-encrypt-i-o-timeout/23259)

<div class="topic-metadata">

**Author:** [@EscuelaIdeo](https://community.traefik.io/u/EscuelaIdeo)\
**Replies:** 0\
**Last updated:** [June 20, 2024, 7:33am UTC](https://community.traefik.io/t/error-renewing-certificate-from-lets-encrypt-i-o-timeout/23259 "2024-06-20T07:33:10Z")

</div>

Hi everyone, Here another one with Let's Encrypt certificates renewal errors. It's been working for long time, but suddenly it stopped. The Traefik is built in a digitalocean server with docker. The error msg is the fol…

---

## [Cannot Server Side Render a page within a docker container on Traefik network connected to API also on the same network](https://community.traefik.io/t/cannot-server-side-render-a-page-within-a-docker-container-on-traefik-network-connected-to-api-also-on-the-same-network/2182)

<div class="topic-metadata">

**Author:** [@nkhodanian](https://community.traefik.io/u/nkhodanian)\
**Replies:** 3\
**Last updated:** [April 2, 2024, 6:07am UTC](https://community.traefik.io/t/cannot-server-side-render-a-page-within-a-docker-container-on-traefik-network-connected-to-api-also-on-the-same-network/2182 "2024-04-02T06:07:39Z")

</div>

I have two applications within my traefik network. One is {mydomain} and the other is api.{mydomain}. Everything works perfectly on the client side, but the code rendered on the server side seems to not be able to reques…

---

## [Intermittent issues with URL redirection](https://community.traefik.io/t/intermittent-issues-with-url-redirection/21478)

<div class="topic-metadata">

**Author:** [@srinathjamboju](https://community.traefik.io/u/srinathjamboju)\
**Replies:** 4\
**Last updated:** [February 14, 2024, 2:36pm UTC](https://community.traefik.io/t/intermittent-issues-with-url-redirection/21478 "2024-02-14T14:36:29Z")

</div>

Hi I'm running traefik v1.7 on docker swarm. Below are the labels on my traefik container. "traefik.app-redirect.frontend.redirect.permanent": "true", "traefik.app-redirect.frontend.redirect.regex": "^https://\[^/\]+/(.\*…

---

## [Can't renew certificate due to 403 on directory/file .well-known](https://community.traefik.io/t/cant-renew-certificate-due-to-403-on-directory-file-well-known/20688)

<div class="topic-metadata">

**Author:** [@vasilvestre](https://community.traefik.io/u/vasilvestre)\
**Replies:** 3\
**Last updated:** [December 6, 2023, 11:29am UTC](https://community.traefik.io/t/cant-renew-certificate-due-to-403-on-directory-file-well-known/20688 "2023-12-06T11:29:00Z")

</div>

I'm using Traefik 1.7 on a production server, a server upgrade has been made from Debian 8 to 10 (not 100% sure but it's not relevant) recently and now auto renewal of certificate isn't working anymore. This error happe…

---

## [Traefik requesting certs from letsencrypt for invalid (unconfigured) sub domains?](https://community.traefik.io/t/traefik-requesting-certs-from-letsencrypt-for-invalid-unconfigured-sub-domains/5321)

<div class="topic-metadata">

**Author:** [@traeefik\_user1](https://community.traefik.io/u/traeefik_user1)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 1:48pm UTC](https://community.traefik.io/t/traefik-requesting-certs-from-letsencrypt-for-invalid-unconfigured-sub-domains/5321 "2023-10-16T13:48:20Z")

</div>

I configure numerous standalone docker containers to answer at subdomains using docker labels with the following format: labels: - "traefik.docker.network=mynet" - "traefik.enable=true" - "traefik.…

---

## [Websockets don't work in docker swarm with scale \> 1](https://community.traefik.io/t/websockets-dont-work-in-docker-swarm-with-scale-1/4389)

<div class="topic-metadata">

**Author:** [@AndyBehr](https://community.traefik.io/u/AndyBehr)\
**Replies:** 4\
**Last updated:** [March 9, 2020, 9:27am UTC](https://community.traefik.io/t/websockets-dont-work-in-docker-swarm-with-scale-1/4389 "2020-03-09T09:27:22Z")

</div>

Hi there, we are using traefik as gateway into our docker swarm. We have about 100 container running and everything works fine. Until now. We added a container that requires websocket connections. When only one contain…

---

## [After moving everything to an another machine, unable to connect or 404](https://community.traefik.io/t/after-moving-everything-to-an-another-machine-unable-to-connect-or-404/3313)

<div class="topic-metadata">

**Author:** [@jtagcat](https://community.traefik.io/u/jtagcat)\
**Replies:** 8\
**Last updated:** [August 2, 2023, 9:24pm UTC](https://community.traefik.io/t/after-moving-everything-to-an-another-machine-unable-to-connect-or-404/3313 "2023-08-02T21:24:51Z")

</div>

I started out with DigitalOcean's guide. Everything was working (even between reboots), I have moved everything to an another machine before, but this time everything is unable to connect and sometimes 404. I have traef…

---

## [How to detect and stop routing requests to unhealthy nodes](https://community.traefik.io/t/how-to-detect-and-stop-routing-requests-to-unhealthy-nodes/19130)

<div class="topic-metadata">

**Author:** [@venkatmsv](https://community.traefik.io/u/venkatmsv)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 8:55am UTC](https://community.traefik.io/t/how-to-detect-and-stop-routing-requests-to-unhealthy-nodes/19130 "2023-07-05T08:55:57Z")

</div>

Hi Team, We are using traeik to route the requests to backend. If one of the node is unhealthy still traefik is routing the request. Kindly let me know how to fix this issue. Thanks, Venkat

---

## [Traefik is forwarding request to wrong host for a service](https://community.traefik.io/t/traefik-is-forwarding-request-to-wrong-host-for-a-service/19034)

<div class="topic-metadata">

**Author:** [@binjie](https://community.traefik.io/u/binjie)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 8:20am UTC](https://community.traefik.io/t/traefik-is-forwarding-request-to-wrong-host-for-a-service/19034 "2023-06-23T08:20:17Z")

</div>

Dear Traefik community I've come across a snag and hope some experts from here can help out. We are trying to deploy a new service but Traefik is returning 404. And the root cause seems to be it is holding onto a stale…

---

## [Is this a Docker or a Traefik bug | X-Forwarded-For and X-Real-Ip not correctly transmitted?](https://community.traefik.io/t/is-this-a-docker-or-a-traefik-bug-x-forwarded-for-and-x-real-ip-not-correctly-transmitted/773)

<div class="topic-metadata">

**Author:** [@wylie](https://community.traefik.io/u/wylie)\
**Replies:** 14\
**Last updated:** [May 16, 2023, 5:42pm UTC](https://community.traefik.io/t/is-this-a-docker-or-a-traefik-bug-x-forwarded-for-and-x-real-ip-not-correctly-transmitted/773 "2023-05-16T17:42:29Z")

</div>

Hi, I´m trying to set up that Traefik 1.7.12 is forwarding Headers X-Forwarded-For and X-Real-Ip with the origin Client IPs. Network in between is a Docker "driver: bridge" net. The only IP which I can see with Wireshar…

---

## [How to ssh into the container running the traefik controller?](https://community.traefik.io/t/how-to-ssh-into-the-container-running-the-traefik-controller/862)

<div class="topic-metadata">

**Author:** [@bedi](https://community.traefik.io/u/bedi)\
**Replies:** 4\
**Last updated:** [April 26, 2023, 4:37am UTC](https://community.traefik.io/t/how-to-ssh-into-the-container-running-the-traefik-controller/862 "2023-04-26T04:37:56Z")

</div>

How do I ssh into the traefik container ? I tried: kubectl exec -it POD\_NAME bash kubectl exec -it POD\_NAME sh kubectl exec -it POD\_NAME -- '/bin/bash/ kubectl exec -it POD\_NAME -- '/bin/sh/ Even kubectl exec -it POD…

---

## [DNS provider time out when trying to read TXT record (with and without delay)](https://community.traefik.io/t/dns-provider-time-out-when-trying-to-read-txt-record-with-and-without-delay/1310)

<div class="topic-metadata">

**Author:** [@chopfitzroy](https://community.traefik.io/u/chopfitzroy)\
**Replies:** 8\
**Last updated:** [April 24, 2023, 2:16pm UTC](https://community.traefik.io/t/dns-provider-time-out-when-trying-to-read-txt-record-with-and-without-delay/1310 "2023-04-24T14:16:03Z")

</div>

From what I can tell traefik is failing to create the TXT record with my DNS service (Digital Ocean) when using the dnsChallenge (assuming it is traefik that creates the record and not letsencrypt I am a little unclear o…

---

## [Configure two networks to point to same service/port?](https://community.traefik.io/t/configure-two-networks-to-point-to-same-service-port/18130)

<div class="topic-metadata">

**Author:** [@aleksandrj](https://community.traefik.io/u/aleksandrj)\
**Replies:** 0\
**Last updated:** [April 3, 2023, 10:57pm UTC](https://community.traefik.io/t/configure-two-networks-to-point-to-same-service-port/18130 "2023-04-03T22:57:28Z")

</div>

I have this: - "traefik.docker.network=swarmnetwork\_123" - "traefik.hc.frontend.rule=PathPrefix:/health" - "traefik.hc.port=8077" # health-check But now i also need this too: - "traef…

---

## [Robots.txt on Traefik v1](https://community.traefik.io/t/robots-txt-on-traefik-v1/17773)

<div class="topic-metadata">

**Author:** [@caprio](https://community.traefik.io/u/caprio)\
**Replies:** 3\
**Last updated:** [March 4, 2023, 9:34pm UTC](https://community.traefik.io/t/robots-txt-on-traefik-v1/17773 "2023-03-04T21:34:29Z")

</div>

Is there a way in Traefik v1 to serve a static robots.txt file on /robots.txt on all the sites proxied?

---

## [Help with WebSockets + Traefik + Docker](https://community.traefik.io/t/help-with-websockets-traefik-docker/859)

<div class="topic-metadata">

**Author:** [@umityayla](https://community.traefik.io/u/umityayla)\
**Replies:** 10\
**Last updated:** [February 11, 2023, 3:34pm UTC](https://community.traefik.io/t/help-with-websockets-traefik-docker/859 "2023-02-11T15:34:37Z")

</div>

Hello, I have a nodejs websockets service. To scale it up and down we are going to use docker containers. But websockets require sticky session and I couldn't get it working with traefik. (It works well with haproxy bu…

---

## [Cannot create/renew ACME certificate: "Cannot get ACME client get directory"](https://community.traefik.io/t/cannot-create-renew-acme-certificate-cannot-get-acme-client-get-directory/2469)

<div class="topic-metadata">

**Author:** [@peperunas](https://community.traefik.io/u/peperunas)\
**Replies:** 3\
**Last updated:** [January 26, 2023, 3:19am UTC](https://community.traefik.io/t/cannot-create-renew-acme-certificate-cannot-get-acme-client-get-directory/2469 "2023-01-26T03:19:15Z")

</div>

Hello everyone. One of my domain's ACME certificates expired and I noticed I wasn't able to connect to my service anymore. I took a look at the logs and it seems that this is the culprit: cannot get ACME client get di…

---

## [Protect /administratoin Path](https://community.traefik.io/t/protect-administratoin-path/17166)

<div class="topic-metadata">

**Author:** [@Jeroenv30](https://community.traefik.io/u/Jeroenv30)\
**Replies:** 0\
**Last updated:** [January 17, 2023, 11:54am UTC](https://community.traefik.io/t/protect-administratoin-path/17166 "2023-01-17T11:54:45Z")

</div>

is there a way to protect the /adminitration path of a website that i'm hosting in docker. the condition must be something like sourde IP 192.168.1.x allowed. else denied

---

## [RequireAndVerifyClientCert has no efact when secret is missing](https://community.traefik.io/t/requireandverifyclientcert-has-no-efact-when-secret-is-missing/15359)

<div class="topic-metadata">

**Author:** [@OlafRadicke](https://community.traefik.io/u/OlafRadicke)\
**Replies:** 3\
**Last updated:** [December 9, 2022, 10:55am UTC](https://community.traefik.io/t/requireandverifyclientcert-has-no-efact-when-secret-is-missing/15359 "2022-12-09T10:55:25Z")

</div>

I noticed that "RequireAndVerifyClientCert" has no effect on "clientAuthType:" if the secret in "secretNames:" is missing. This means that if the secret is missing or misconfigured, the endpoint is no longer protected an…

---

## [Issue accessing Wordpress dashboard behind traefik](https://community.traefik.io/t/issue-accessing-wordpress-dashboard-behind-traefik/893)

<div class="topic-metadata">

**Author:** [@yassine.laz](https://community.traefik.io/u/yassine.laz)\
**Replies:** 5\
**Last updated:** [December 3, 2022, 8:00pm UTC](https://community.traefik.io/t/issue-accessing-wordpress-dashboard-behind-traefik/893 "2022-12-03T20:00:42Z")

</div>

Hey everyone, I have a simple setup where a Wordpress and its dependencies are served in a container behind Traefik. The problem is I can't access the admin dashboard and I'm prompted with "not allowed to access this pa…

---

## [Discovered rules for docker swarm services are sometimes lost](https://community.traefik.io/t/discovered-rules-for-docker-swarm-services-are-sometimes-lost/15688)

<div class="topic-metadata">

**Author:** [@axelhartog](https://community.traefik.io/u/axelhartog)\
**Replies:** 3\
**Last updated:** [November 14, 2022, 10:02am UTC](https://community.traefik.io/t/discovered-rules-for-docker-swarm-services-are-sometimes-lost/15688 "2022-11-14T10:02:45Z")

</div>

We run several docker-swarm clusters with a configuration roughly as follows: We deploy a traefik container configured services: proxy: image: ${DOCKER\_REGISTRY\_URL}/traefik:v1.7.11-alpine deploy: mode:…

---

## [Traefik Error 500, but container has 200](https://community.traefik.io/t/traefik-error-500-but-container-has-200/16058)

<div class="topic-metadata">

**Author:** [@thor42](https://community.traefik.io/u/thor42)\
**Replies:** 5\
**Last updated:** [November 13, 2022, 8:30am UTC](https://community.traefik.io/t/traefik-error-500-but-container-has-200/16058 "2022-11-13T08:30:40Z")

</div>

Hi, a wget inside the apache container works, but is responded with 500 Internal Server error if accessed through traefik. I would like to solve this with traefik 1.x. Any hints/ideas/pointers? With traefik as Version …

---

## [How to setup HTTPS using helm?](https://community.traefik.io/t/how-to-setup-https-using-helm/16310)

<div class="topic-metadata">

**Author:** [@LuizDMM](https://community.traefik.io/u/LuizDMM)\
**Replies:** 1\
**Last updated:** [November 13, 2022, 7:02am UTC](https://community.traefik.io/t/how-to-setup-https-using-helm/16310 "2022-11-13T07:02:03Z")

</div>

Ok, I'm trying to use Traefik with K8S for the first time. I followed a tutorial and the instructor used Cloudflare, but I would like to use Lets Encrypt. When I finished all the settings, HTTPS was enabled, but with sel…

[Next page](https://community.traefik.io/c/traefik/traefik-v1/9.md?page=1)
