Add bypass rules to Authelia access control for gitea API

This commit is contained in:
Chris King
2025-01-22 18:21:59 -08:00
parent f3bbf41add
commit 97a97f5028

View File

@@ -6,7 +6,19 @@ server:
# Security https://www.authelia.com/configuration/security/access-control/ # Security https://www.authelia.com/configuration/security/access-control/
access_control: access_control:
networks:
- name: 'internal'
networks:
- '192.168.1.0/24'
- '172.16.0.0/12'
rules: rules:
- domain: 'gitea.tremendousturtle.tools'
policy: bypass
networks:
- 'internal'
resources:
- '^/api([/?].*)?$'
- '^/v2([/?].*)?$'
- domain: '*.tremendousturtle.tools' - domain: '*.tremendousturtle.tools'
policy: two_factor policy: two_factor