docs: misc fixes (#3745)

This commit is contained in:
James Elliott 2022-07-26 15:26:38 +10:00 committed by GitHub
parent fd06e43cf0
commit efe1facc35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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/