proxy

command
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

README

To use the example app:

Push two differently named instances of the app

cd ~/workspace/netman-release/src/example-apps/proxy
cf push appA
cf push appB

See that they are reachable and what their IPs are

curl appa.<system-domain>
curl appb.<system-domain>

See that proxying from A to B works over both the router and overlay

curl appa.<system-domain>/proxy/appb.<system-domain>
curl appa.<system-domain>/proxy/<overlay-ip-of-appB>:8080

Configure extra ports for the app to listen on

cf set-env appB USER_PORTS 4444,3333
cf restage

See that appB listens on the new ports

curl appa.<system-domain>/proxy/<overlay-ip-of-appB>:3333
curl appa.<system-domain>/proxy/<overlay-ip-of-appB>:4444

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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