1 | ## Options
|
2 |
|
3 | * `accessproxy -h, --help` - Output usage information.
|
4 | * `accessproxy -V, --version` - Output the version number.
|
5 | * `accessproxy -l, --listen <n>` - The port to listen on.
|
6 | * `accessproxy -t, --target <n>` - The port to loopback to.
|
7 | * `accessproxy -T, --hostname <hostname>` - The hostname to loopback to.
|
8 | * `accessproxy -p, --proxy <hostname>` - The hostname to proxy to.
|
9 | * `accessproxy -v, --verbose` - Enable verbose logging.
|
10 | * `accessproxy -m, --mode <mode>` - Proxy mode (labs, portal, or mixed).
|
11 | * `accessproxy -s, --static <path>` - Path to serve up static assets.
|
12 |
|
13 | ## Commands
|
14 |
|
15 | * `accessproxy [options]` - The default command starts the proxy with the provided options.
|
16 | * `accessproxy configure` - The configure command invokes configuration process.
|
17 |
|
18 | ## Configuration
|
19 |
|
20 | Invoke configuration with `accessproxy configure`.
|
21 |
|
22 | Configure will ask you for your preferred hosts.
|
23 | The defaults (`foo.redhat.com` & `prod.foo.redhat.com` will be used if configuration is not run)
|