1 Star 0 Fork 0

stvenx / forward-port

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

forward-port

A Traefik Plugin forward remote port to backend

Configuration

Static configuration

experimental:
  plugins:
    forward-port:
      moduleName: github.com/unnoo/forward-port

Dynamic configuration

http:
  routers:
    router:
      rule: host(`test.api.cn`)
      service: svc
      entryPoints:
        - web
      middlewares:
        - "forward-port"

  services:
    svc:
      loadBalancer:
        servers:
          - url: "http://127.0.0.1:8000"

  middlewares:
    forward-port:
      plugin:
        forward-port:
          headers:
            X-Real-Port: 0000

Repository Comments ( 0 )

Sign in to post a comment

About

A Traefik Plugin forward remote port to backend expand collapse
Go
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Go
1
https://gitee.com/stvenx/forward-port.git
git@gitee.com:stvenx/forward-port.git
stvenx
forward-port
forward-port
master

Search