Skip to content

Commit

Permalink
#42 improve vouch.domains explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
bnfinet committed Jan 29, 2019
1 parent 5e0b3cb commit b866c53
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions config/config.yml_example
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@ vouch:
listen: 0.0.0.0
port: 9090

# domains
# domains:
# each of these domains must serve the url https://vouch.$domains[0] https://vouch.$domains[1] ...
# so that the cookie which stores the JWT can be set in the relevant domain
# you usually *don't* want to list every individual website that will be protected
# if you have siteA.internal.yourdomain.com and siteB.internal.yourdomain.com
# then your domains should be set as yourdomain.com or perhaps internal.yourdomain.com
# usually you'll just have one.
# Comment this out if you set allowAllUser:true
# Comment `domains:` out if you set allowAllUser:true
domains:
- yourdomain.com
- yourotherdomain.com

# set allowAllUsers: true to use Vouch Proxy to just accept anyone who can authenticate at the configured provider
allowAllUsers: false
# allowAllUsers: false

# Setting publicAccess: true will accept all requests, even without a cookie.
# If the user is logged in, the cookie will be validated and the user header will be set.
# You will need to direct people to the Vouch Proxy login page from your application.
publicAccess: false
# publicAccess: false

# whiteList (optional) allows only the listed usernames
# usernames are usually email addresses (google, most oidc providers) or login/username for github and github enterprise
Expand Down Expand Up @@ -52,13 +55,13 @@ vouch:
# name of cookie to store the jwt
name: VouchCookie
# optionally force the domain of the cookie to set
domain: yourdomain.com
# domain: yourdomain.com
secure: true
httpOnly: true

session:
# name of session variable stored locally
name: vouchSession
name: VouchSession
# key: a cryptographic string used to store the session variable
# if the key is not set here then it is generated at startup and stored in memory
# Vouch Proxy complains if the string is less than 44 characters (256 bits as 32 base64 bytes)
Expand Down

0 comments on commit b866c53

Please sign in to comment.