Skip to content

Commit 9a23a8e

Browse files
committed
refactor: simplify workflow webhook routing
1 parent c2d1c82 commit 9a23a8e

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

caddy/Caddyfile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -214,24 +214,12 @@ workflow.{$CADDY_SUBDOMAIN} {
214214
header X-Telegram-Bot-Api-Secret-Token {$TELEGRAM_WEBHOOK_SECRET}
215215
path /webhook/scanservjs/telegram/reissue /webhook-test/scanservjs/telegram/reissue
216216
}
217-
@githubPrDashboardUiMtls {
218-
method GET HEAD POST
219-
path /webhook/github-pr-dashboard /webhook/github-pr-dashboard/* /webhook-test/github-pr-dashboard /webhook-test/github-pr-dashboard/*
220-
expression {tls_client_subject} != ""
221-
}
222-
@githubPrDashboardUiAuthelia {
223-
method GET HEAD POST
224-
path /webhook/github-pr-dashboard /webhook/github-pr-dashboard/* /webhook-test/github-pr-dashboard /webhook-test/github-pr-dashboard/*
225-
expression {tls_client_subject} == ""
226-
}
227217
@webhooksMtls {
228218
path /webhook/* /webhook-test/*
229-
not path /webhook/github-pr-dashboard /webhook/github-pr-dashboard/* /webhook-test/github-pr-dashboard /webhook-test/github-pr-dashboard/*
230219
expression {tls_client_subject} != ""
231220
}
232221
@webhooksAuthelia {
233222
path /webhook/* /webhook-test/*
234-
not path /webhook/github-pr-dashboard /webhook/github-pr-dashboard/* /webhook-test/github-pr-dashboard /webhook-test/github-pr-dashboard/*
235223
expression {tls_client_subject} == ""
236224
}
237225
route {
@@ -242,13 +230,6 @@ workflow.{$CADDY_SUBDOMAIN} {
242230
handle @telegramReissueWebhook {
243231
import n8n_upstream
244232
}
245-
handle @githubPrDashboardUiMtls {
246-
import n8n_upstream
247-
}
248-
handle @githubPrDashboardUiAuthelia {
249-
import authelia_forward_auth
250-
import n8n_upstream
251-
}
252233
handle @webhooksMtls {
253234
import n8n_upstream
254235
}

0 commit comments

Comments
 (0)