link-stack/docker/opensearch/config.yml
Darren Clarke b09cc82544 WIP 5
2024-03-20 17:51:21 +01:00

36 lines
936 B
YAML

_meta:
type: "config"
config_version: 2
config:
dynamic:
http:
anonymous_auth_enabled: false
xff:
enabled: true
remoteIpHeader: "x-forwarded-for"
internalProxies: ".*"
authc:
basic_internal_auth_domain:
description: "Authenticate via HTTP Basic against internal users database"
http_enabled: true
transport_enabled: true
order: 0
http_authenticator:
type: basic
challenge: false
authentication_backend:
type: intern
proxy_auth_domain:
description: "Authenticate via proxy"
http_enabled: true
transport_enabled: true
order: 1
http_authenticator:
type: proxy
challenge: false
config:
user_header: "x-forwarded-user"
roles_header: "x-forwarded-roles"
authentication_backend:
type: noop