mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
docs: misc fixes (#3745)
This commit is contained in:
parent
fd06e43cf0
commit
efe1facc35
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user