tpr

command module
v0.0.0-...-d2d29c1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

README

tpr

tcp, http(s) reverse proxy

minimal nginx alike.

Usage

Usage of ./tpr:
  -c string
        toml config file (default "config.toml")

Example complete config file

[services.a]
port=":80"
from="foo.com"
to="localhost:9000"

[services.b]
port=":80"
from="a.foo.com"
to="localhost:9000"

[services.example1]
port=":80"
from="e1.foo.com"
to="localhost:80"

[services.example2]
type="https"
port=":443"
from="e2.foo.com"
to="localhost:443"

Note

the from value's domain needs to resolvable.

say domain foo.com must resolved to the machine which run tpr.

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