Alpha Chen 10 months ago
parent af19f7746c
commit 9d617c8686
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -1,5 +1,7 @@
- name: Set up Authelia - name: Set up Authelia
hosts: lotus-land-story hosts: lotus-land-story
vars:
version: 4.37.5
vars_files: vars_files:
- vars.yml - vars.yml
tasks: tasks:
@ -31,7 +33,7 @@
community.docker.docker_container: community.docker.docker_container:
restart: true restart: true
name: authelia name: authelia
image: docker.io/authelia/authelia:4.37.5 image: docker.io/authelia/authelia:{{ version }}
env: env:
AUTHENTICATION_GUARD: remote_user_guard AUTHENTICATION_GUARD: remote_user_guard
volumes: volumes:

@ -57,7 +57,6 @@ books.{{ domain }} {
forward_auth authelia:9091 { forward_auth authelia:9091 {
uri /api/verify?rd=https://auth.{{ domain }} uri /api/verify?rd=https://auth.{{ domain }}
copy_headers Remote-User copy_headers Remote-User
# copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
## This import needs to be included if you're relying on a trusted proxies configuration. ## This import needs to be included if you're relying on a trusted proxies configuration.
import trusted_proxy_list import trusted_proxy_list

Loading…
Cancel
Save