proxy: make http redirect server configurable (#105)

This commit is contained in:
Bobby DeSimone 2019-05-03 20:48:26 -07:00 committed by GitHub
parent 286aad3b92
commit 25d76cd5c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 10 deletions

View file

@ -31,6 +31,17 @@ Service mode sets the pomerium service(s) to run. If testing, you may want to se
Address specifies the host and port to serve HTTPS and gRPC requests from. If empty, `:https`/`:443` is used.
### HTTP Redirect Address
- Environmental Variable: `HTTP_REDIRECT_ADDR`
- Type: `string`
- Default: `` (no serevr is started)
- Example: `:80`
- Optional
If set, the HTTP Redirect Address specifies the host and port to redirect http to https traffic on. If not set, no redirect server is started.
### Shared Secret
- Environmental Variable: `SHARED_SECRET`