reverseproxy

command module
v0.0.0-...-34404f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 7 Imported by: 0

README

reverseproxy

why

simple reverse proxy should be easy

what

a reverse proxy for one or more http upstreams behind a single wildcard certificate.

cert: *.example.com upstream1: one.example.com upstream2: two.example.com

install

go get github.com/nathants/reverseproxy

usage

>> reverseproxy -h

Usage: main [--addr ADDR] [--timeout TIMEOUT] [--ssl-cert SSL-CERT] [--ssl-key SSL-KEY] [--upstream UPSTREAM]

Options:
  --addr ADDR,         -a ADDR [default: :443]
  --timeout TIMEOUT,   -t TIMEOUT [default: 5]
  --ssl-cert SSL-CERT, -c SSL-CERT
  --ssl-key SSL-KEY,   -k SSL-KEY
  --upstream UPSTREAM, -u UPSTREAM
                         may specify upstreams: -u foo.com=localhost:8080 bar.com=localhost:8081

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL