add auth exclusion for webhook api

This commit is contained in:
tolerryan
2026-11-13 08:04:48 -06:00
parent 6f920e4497
commit 0a247fff18
2 changed files with 15 additions and 9 deletions

View File

@@ -11,13 +11,19 @@ auth.{{ authelia_domain }} {
}
semaphore.frantecrt.duckdns.org {
# Import the auth configuration block
import authelia_auth
# Route the traffic to your backend application if authenticated
# Webhook endpoint: skip Authelia, Semaphore's own integration auth protects it
@webhook path /api/integrations/*
handle @webhook {
reverse_proxy semaphore.netbird.cloud:3000
}
# Everything else: protected by Authelia
handle {
import authelia_auth
reverse_proxy semaphore.netbird.cloud:3000
}
}
git.frantecrt.duckdns.org {
# Import the auth configuration block

View File

@@ -8,7 +8,7 @@ services:
ports:
- "127.0.0.1:{{ authelia_port }}:{{ authelia_port }}"
environment:
- TZ={{ ansible_facts.timezone | default('UTC') }}
- TZ={{ ansible_facts['timezone'] | default('UTC') }}
caddy:
image: caddy:2