Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
traefik

traefik

> 编程语言
Free

The Cloud Native Application Proxy

65.9K stars0 likes4 views
WebsiteGitHub

About

The Cloud Native Application Proxy

</picture>

Traefik (pronounced _traffic_) is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components ([Docker](https://www.docker.com/), [Swarm mode](https://docs.docker.com/engine/swarm/), [Kubernetes](https://kubernetes.io), [Consul](https://www.consul.io/), [Etcd](https://coreos.com/etcd/), [Rancher v2](https://rancher.com), [Amazon ECS](https://aws.amazon.com/ecs), ...) and configures itself automatically and dynamically. Pointing Traefik at your orchestrator should be the _only_ configuration step you need.

. Overview . Features . Supported backends . Quickstart . Web UI . Documentation .

. Support . Release cycle . Contributing . Maintainers . Credits .


:warning: When migrating to a new major version of Traefik, please refer to the migration guide to ensure a smooth transition and to be aware of any breaking changes.

Overview

Imagine that you have deployed a bunch of microservices with the help of an orchestrator (like Swarm or Kubernetes) or a service registry (like etcd or consul). Now you want users to access these microservices, and you need a reverse proxy.

Traditional reverse-proxies require that you configure each route that will connect paths and subdomains to each microservice. In an environment where you add, remove, kill, upgrade, or scale your services many times a day, the task of keeping the routes up to date becomes tedious.

This is when Traefik can help you!

Traefik listens to your service registry/orchestrator API and instantly generates the routes so your microservices are connected to the outside world -- without further intervention from your part.

Run Traefik and let it do the work for you! (But if you'd rather configure some of your routes manually, Traefik supports that too!)

Features

  • Continuously updates its configuration (No restarts!)
  • Supports multiple load balancing algorithms
  • Provides HTTPS to your microservices by leveraging Let's Encrypt (wildcard certificates support)
  • Circuit breakers, retry
  • See the magic through its clean web UI
  • WebSocket, HTTP/2, gRPC ready
  • Provides metrics (Rest, Prometheus, Datadog, Statsd, InfluxDB 2.X)
  • Keeps access logs (JSON, CLF)
  • Fast
  • Exposes a Rest API
  • Packaged as a single binary file (made with :heart: with go) and available as an official docker image

Supported Backends

  • Docker / Swarm mode
  • Kubernetes
  • ECS
  • File

Quickstart

To get your hands on Traefik, you can use the 5-Minute Quickstart in our documentation (you will need Docker).

Web UI

You can access the simple HTML frontend of Traefik.

Documentation

You can find the complete documentation of Traefik v3 at https://doc.traefik.io/traefik/.

Support

To get community support, you can:

  • join the Traefik community forum:

If you need commercial support, please contact Traefik.io by mail: mailto:[email protected].

Download

  • Grab the latest binary from the releases page and run it with the sample configuration file:
bash
./traefik --configFile=traefik.toml
  • Or use the official tiny Docker image and run it with the sample configuration file:
bash
docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/etc/traefik/traefik.toml traefik
  • Or get the sources:
bash
git clone https://github.com/traefik/traefik

Introductory Videos

You can find high level and deep dive videos on videos.traefik.io.

Maintainers

We are strongly promoting a philosophy of openness and sharing, and firmly standing against the elitist closed approach. Being part of the core team should be accessible to anyone who is motivated and want to be part of that journey! This document describes how to be part of the maintainers' team as well as various responsibilities and guidelines for Traefik maintainers. You can also find more information on our process to review pull requests and manage issues in this document.

Contributing

If you'd like to contribute to the project, refer to the contributing documentation.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.

Release Cycle

  • We usually release 3/4 new versions (e.g. 1.1.0, 1.2.0, 1.3.0) per year.
  • Release Candidates are available before the release (e.g. 1.1.0-rc1, 1.1.0-rc2, 1.1.0-rc3, 1.1.0-rc4, before 1.1.0).
  • Bug-fixes (e.g. 1.1.1, 1.1.2, 1.2.1, 1.2.3) are released as needed (no additional features are delivered in those versions, bug-fixes only).

Each version is supported until the next one is released (e.g. 1.1.x will be supported until 1.2.0 is out).

We use Semantic Versioning.

Mailing Lists

  • General announcements, new releases: mail at [email protected] or on the online viewer.
  • Security announcements: mail at [email protected] or on the online viewer.

Credits

Kudos to Peka for his awesome work on the gopher's logo!.

The gopher's logo of Traefik is licensed under the Creative Commons 3.0 Attributions license.

The gopher's logo of Traefik was inspired by the gopher stickers made by Takuya Ueda. The original Go gopher was designed by Renee French.

Issues· 928 open

View all issuesOpen on GitHub
  • #11679

    run as non root user in container

    kind/enhancementarea/infrastructurecontributor/wantedUpdated Sep 28, 2026
  • #13970

    Recovery middleware loses the stack trace when a panic message and its "Stack" log are split across two writes

    kind/bug/possiblearea/logsUpdated Sep 28, 2026
  • #13907

    better graceful restart with Kubernetes taking into account interval between incoming requests

    kind/proposalarea/provider/k8sUpdated Sep 28, 2026
  • #13957

    rateLimit: idle buckets expire before refilling, allowing clients to exceed the configured rate when burst > 1 and rate < 1 req/s

    kind/bug/possiblearea/middlewareUpdated Sep 28, 2026
  • #12631

    Implement more NGINX Ingress Annotations

    kind/enhancementcontributor/good-first-issuecontributor/wantedarea/provider/k8s/ingress-nginxUpdated Sep 25, 2026
  • #10678

    Issue warning when configuration incompatible with sticky session option is provided

    kind/enhancementarea/documentationpriority/P3contributor/wantedUpdated Sep 24, 2026
  • #13944

    Allow setting ACME account key (type)

    kind/enhancementarea/acmeUpdated Sep 24, 2026
  • #13879

    RateLimit records early HTTP/2 client cancellations as HTTP 500 before reaching backend

    kind/bug/possiblearea/middlewareUpdated Sep 24, 2026
  • #13777

    traefik ignores `base2_exponential_bucket_histogram` setting for some histogram metrics

    kind/bug/possiblecontributor/wantedarea/otelUpdated Sep 24, 2026
  • #9453

    logs: logrus replacement

    kind/enhancementarea/logsarea/performancearea/accesslogsUpdated Sep 24, 2026

> Tags

Goconsuldockeretcd

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 4, 2026
Category编程语言
PricingFree

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言