Alpha Chen 6 months ago
parent e37cbca553
commit 7decc855ba
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -2,6 +2,8 @@
hosts: lotus-land-story
vars_files:
- vars.yml
vars:
version: 2.8.4
tasks:
- name: Make /mnt/lotus-land-story/caddy
@ -35,7 +37,7 @@
- name: Run Caddy
community.docker.docker_container:
name: caddy
image: caddy:2.7.4
image: caddy:{{ version }}
restart: true
ports:
- "80:80"

@ -6,7 +6,7 @@
# https://www.authelia.com/integration/proxies/caddy/#forwarded-header-trust#trusted-proxies
(trusted_proxy_list) {
trusted_proxies {{ trusted_proxies }}
trusted_proxies {{ trusted_proxies }}
}
:2019 {
@ -95,7 +95,7 @@ books.{{ domain }} {
}
}
docs.chislan.family
docs.chislan.family {
forward_auth authelia:9091 {
uri /api/verify?rd=https://auth.chislan.family
copy_headers Remote-User

Loading…
Cancel
Save