Update access control policy in Authelia configuration and modify Traefik middleware settings

This commit is contained in:
Mohmmed Elfateh Sabry
2025-08-11 02:24:45 +03:00
parent d7dd30b9fe
commit 048888429f
2 changed files with 20 additions and 2 deletions

View File

@@ -44,7 +44,25 @@ authentication_backend:
# Access Control # Access Control
######################################################### #########################################################
access_control: access_control:
default_policy: bypass default_policy: deny
rules:
- domain: "auth.gate.3launchpad.com"
policy: bypass
- domain: "status.gate.3launchpad.com"
policy: bypass
- domain: "traefik.gate.3launchpad.com"
policy: bypass
- domain: "portainer.gate.3launchpad.com"
policy: bypass
- domain_regex: "(grafana|prometheus|umami)\\.gate\\.3launchpad\\.com"
policy: bypass
- domain: "*.gate.3launchpad.com"
policy: bypass
policy: one_factor policy: one_factor
######################################################### #########################################################

View File

@@ -106,7 +106,7 @@ services:
- traefik.http.routers.traefik.entrypoints=websecure - traefik.http.routers.traefik.entrypoints=websecure
- traefik.http.routers.traefik.tls.certresolver=le - traefik.http.routers.traefik.tls.certresolver=le
- traefik.http.routers.traefik.service=api@internal - traefik.http.routers.traefik.service=api@internal
- traefik.http.routers.traefik.middlewares=crowdsec-plugin,authelia,security-headers - traefik.http.routers.traefik.middlewares=crowdsec-plugin,security-headers
## ───────────────────────────────────────────── ## ─────────────────────────────────────────────
## Portainer — Docker control plane ## Portainer — Docker control plane