Giter Club home page Giter Club logo

Comments (3)

juliens avatar juliens commented on May 25, 2024 1

Hi @jbaron-gingco ,

In HTTP Services setups, connections with the backend are reused for different clients, making it impossible to forward client-specific connection information like ProxyProtocol does.

So we can't enable ProxyProtocol on HTTP Services.

from traefik.

nmengin avatar nmengin commented on May 25, 2024

Hello @jbaron-gingco,

Thank you for reaching out.
Could you be more accurate on your need and, ideally, provide a configuration example, please?

Note that a PR is already open to fix a bug with the headers management (#10492), fo you think it fits your needs?

from traefik.

jbaron-gingco avatar jbaron-gingco commented on May 25, 2024

Hi @nmengin,

for TCP services there is the configuration option to enable TCP proxy protocol:

 "traefik.tcp.services.<servicename>.loadbalancer.proxyprotocol.version=2"

But for HTTP services, no such option seems to exist, but instead the HTTP X-Forwarded-* headers are used. Would it be possible to add an option to enable the TCP proxy protocol for HTTP services as well?

Some services do not seem to support the headers (possibly because of the security risks involved), but do support the TCP proxy protocol. This is the case with rabbitMQ for us.

from traefik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.