From efe1facc353e8edb359e9591706d72b26d0943c9 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Tue, 26 Jul 2022 15:26:38 +1000 Subject: [PATCH] docs: misc fixes (#3745) --- docs/content/en/configuration/security/access-control.md | 4 ++-- docs/content/en/integration/kubernetes/nginx-ingress.md | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/content/en/configuration/security/access-control.md b/docs/content/en/configuration/security/access-control.md index 4db71039c..db0cc513d 100644 --- a/docs/content/en/configuration/security/access-control.md +++ b/docs/content/en/configuration/security/access-control.md @@ -169,7 +169,7 @@ access_control: policy: bypass ``` -### domain_regex +#### domain_regex {{< confkey type="list(string)" required="yes" >}} @@ -188,7 +188,7 @@ When used in conjunction with [domain](#domain) the rule will match when either In addition to standard regex patterns this criteria can match some [Named Regex Groups](#named-regex-groups). -#### Examples +##### Examples *An advanced multiple domain regex example with user/group matching. This will match the user `john` in the groups `example` and `example1`, when the request is made to `user-john.example.com`, `group-example.example.com`, or diff --git a/docs/content/en/integration/kubernetes/nginx-ingress.md b/docs/content/en/integration/kubernetes/nginx-ingress.md index 35f9bb2a7..db5838ccf 100644 --- a/docs/content/en/integration/kubernetes/nginx-ingress.md +++ b/docs/content/en/integration/kubernetes/nginx-ingress.md @@ -36,11 +36,12 @@ DNS domain name of `cluster.local`. ```yaml annotations: + nginx.ingress.kubernetes.io/auth-method: GET + nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local/api/verify + nginx.ingress.kubernetes.io/auth-signin: https://auth.example.com?rm=$request_method nginx.ingress.kubernetes.io/auth-response-headers: Remote-User,Remote-Name,Remote-Groups,Remote-Email - nginx.ingress.kubernetes.io/auth-signin: https://auth.example.com nginx.ingress.kubernetes.io/auth-snippet: | proxy_set_header X-Forwarded-Method $request_method; - nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local/api/verify ``` [ingress-nginx]: https://kubernetes.github.io/ingress-nginx/