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

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

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

Loading…
Cancel
Save