command
module
Version:
v0.0.0-...-d2d29c1
Opens a new window with list of versions in this module.
Published: Sep 5, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.