William Petit
fea0610346
All checks were successful
Cadoles/bouncer/pipeline/pr-develop This commit looks good
21 lines
458 B
YAML
21 lines
458 B
YAML
proxy:
|
|
from: ["*"]
|
|
to: ""
|
|
layers:
|
|
basic-auth:
|
|
type: authn-basic
|
|
enabled: true
|
|
options:
|
|
users:
|
|
- username: foo
|
|
passwordHash: "$2y$10$ShTc856wMB8PCxyr46qJRO8z06MpV4UejAVRDJ/bixhu0XTGn7Giy"
|
|
attributes:
|
|
email: foo@bar.com
|
|
rules:
|
|
- set_header(ctx, "Remote-User-Attr-Email", vars.user.attrs.email)
|
|
fetch:
|
|
url:
|
|
user:
|
|
username: foo
|
|
password: bar
|