add auth exclusion for webhook api
This commit is contained in:
@@ -11,13 +11,19 @@ auth.{{ authelia_domain }} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
semaphore.frantecrt.duckdns.org {
|
semaphore.frantecrt.duckdns.org {
|
||||||
# Import the auth configuration block
|
# Webhook endpoint: skip Authelia, Semaphore's own integration auth protects it
|
||||||
import authelia_auth
|
@webhook path /api/integrations/*
|
||||||
|
handle @webhook {
|
||||||
# Route the traffic to your backend application if authenticated
|
|
||||||
reverse_proxy semaphore.netbird.cloud:3000
|
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 {
|
git.frantecrt.duckdns.org {
|
||||||
# Import the auth configuration block
|
# Import the auth configuration block
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:{{ authelia_port }}:{{ authelia_port }}"
|
- "127.0.0.1:{{ authelia_port }}:{{ authelia_port }}"
|
||||||
environment:
|
environment:
|
||||||
- TZ={{ ansible_facts.timezone | default('UTC') }}
|
- TZ={{ ansible_facts['timezone'] | default('UTC') }}
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:2
|
image: caddy:2
|
||||||
|
|||||||
Reference in New Issue
Block a user