28 lines
569 B
YAML
28 lines
569 B
YAML
http:
|
|
middlewares:
|
|
authelia-auth:
|
|
forwardAuth:
|
|
address: "http://authelia:9091/api/authz/forward-auth"
|
|
trustForwardHeader: true
|
|
authResponseHeaders:
|
|
- "Remote-User"
|
|
- "Remote-Name"
|
|
- "Remote-Email"
|
|
- "Remote-Groups"
|
|
|
|
routers:
|
|
authelia:
|
|
rule: "Host(`auth.example.com`)"
|
|
entryPoints:
|
|
- websecure
|
|
service: authelia
|
|
tls:
|
|
certResolver: letsencrypt
|
|
|
|
services:
|
|
authelia:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://authelia:9091"
|
|
|