pomerium/examples/nginx/config.yaml
Alex Fornuto 7140562a82
updates examples for current routes/policy keys (#3034)
* updates examples for current routes/policy keys

* fix and prettier
2022-02-16 14:06:52 -06:00

26 lines
713 B
YAML

# Main configuration flags : https://www.pomerium.com/docs/reference/
pomerium_debug: true
address: :80
cookie_secret: YVFTMIfW8yBJw+a6sYwdW8rHbU+IAAV/SUkCTg9Jtpo=
shared_secret: 80ldlrU2d7w+wVpKNfevk6fmb8otEx6CqOfshj2LwhQ=
idp_provider: "google"
idp_client_id: REPLACEME
idp_client_secret: REPLACEME
insecure_server: true
forward_auth_url: http://fwdauth.localhost.pomerium.io
authenticate_service_url: https://authenticate.localhost.pomerium.io
routes:
- from: https://verify.localhost.pomerium.io
to: http://verify:8000
policy:
- allow:
or:
- domain:
is: pomerium.com
- domain:
is: gmail.com
pass_identity_headers: true