Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Commit

Permalink
Add documentation on to_port_is_https.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbreen committed May 2, 2015
1 parent 516680f commit b27cc9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ The following fields are optional for a reverse proxy:

**target_host** - By default, a reverse proxy will redirect traffic to the configured `to_port` on localhost. To support deployment models where `oauth_reverse_proxy` is on a different system than your application, this parameter configures the host to which proxied traffic should be directed.

**to_port_is_https** - If the port to which you are proxying traffic is serving https traffic but is not port 443, you need to set this parameter to `true` so that the reverse proxy knows how to open the connection. The default is `false`.

The following fields are optional for a proxy or reverse proxy:

**required_uris** - Sometimes you may have a situation where `oauth_[|reverse_]proxy` is sitting in front of another reverse proxy that is deferring to different systems based on the requested route. In these cases, you may wish to configure your proxy to only allow access to the routes that match a URI in this list. This is to prevent client applications from authenticating against your proxy but accessing routes that shouldn't be accessible by this proxy. The entries in `require_uris` are substrings, not regexes, and they are only considered to match if they match from the start of the route.
Expand Down

0 comments on commit b27cc9a

Please sign in to comment.