1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-24 08:12:31 +02:00
Simple edge server / reverse proxy http://reproxy.io/
Go to file
2021-04-03 01:00:09 -05:00
.github initial version #1 2021-04-01 02:37:28 -05:00
app lint: multiple warns 2021-04-03 01:00:09 -05:00
vendor bump deps 2021-04-02 14:27:40 -05:00
.gitignore initial version #1 2021-04-01 02:37:28 -05:00
go.mod bump deps 2021-04-02 14:27:40 -05:00
go.sum bump deps 2021-04-02 14:27:40 -05:00
LICENSE Initial commit 2021-03-28 16:05:24 -05:00
README.md add headers mw 2021-04-01 02:53:42 -05:00

docker-proxy

Simple edge HTTP(s) proxy for docker containers

Application Options:
  -l, --listen=          listen on host:port (default: 127.0.0.1:8080) [$LISTEN]
  -t, --timeout=         proxy timeout (default: 5s) [$TIMEOUT]
      --max=             max response size (default: 64000) [$MAX_SIZE]
  -g, --gzip             enable gz compression [$GZIP]
  -x, --header=          proxy headers [$HEADER]
      --dbg              debug mode [$DEBUG]

assets:
  -a, --assets.location= assets location [$ASSETS_LOCATION]
      --assets.root=     assets web root (default: /) [$ASSETS_ROOT]

docker:
      --docker.enabled   enable docker provider [$DOCKER_ENABLED]
      --docker.host=     docker host (default: unix:///var/run/docker.sock) [$DOCKER_HOST]
      --docker.exclude=  excluded containers [$DOCKER_EXCLUDE]

file:
      --file.enabled     enable file provider [$FILE_ENABLED]
      --file.name=       file name (default: dpx.conf) [$FILE_NAME]
      --file.interval=   file check interval (default: 3s) [$FILE_INTERVAL]
      --file.delay=      file event delay (default: 500ms) [$FILE_DELAY]

static:
      --static.enabled   enable static provider [$STATIC_ENABLED]
      --static.rule=     routing rules [$STATIC_RULES]

Help Options:
  -h, --help             Show this help message