refactor: Consolidate Authelia configuration management and update setup scripts
Some checks failed
/ validate-docker-compose (push) Has been cancelled

- Removed outdated configuration files and scripts.
- Introduced a new setup script to streamline environment and Authelia configuration updates.
- Enhanced .gitignore to exclude unnecessary files.
- Updated README to reflect new setup process and configuration details for Authelia v4.38+.
This commit is contained in:
2025-04-26 00:32:24 +08:00
parent 6e17920cfd
commit 6d9139408d
6 changed files with 426 additions and 237 deletions

View File

@@ -22,8 +22,8 @@ session:
password: ${AUTHELIA_SESSION_REDIS_PASSWORD}
database_index: 0
cookies:
# Using a wildcard domain pattern - works for Tailscale domains
- domain: '*.ts.net'
# Using parent domain to allow proper cookie scope
- domain: 'ts.net'
authelia_url: 'https://tailscale-nas.ts.net'
default_redirection_url: 'https://tailscale-nas.ts.net/home'
same_site: lax
@@ -56,7 +56,7 @@ authentication_backend:
access_control:
default_policy: deny
rules:
# This will match any Tailscale domain
# This will match any Tailscale domain - using wildcard with domains is allowed in rules
- domain: '*.ts.net'
policy: one_factor