Skip to content

feat(traefik): route /crowdsec-internal per resource domain for bot detection - #3

Draft
mazzma12 wants to merge 1 commit into
feat/crowdsec-bot-detectionfrom
feat/crowdsec-internal-router
Draft

mazzma12 wants to merge 1 commit into
feat/crowdsec-bot-detectionfrom
feat/crowdsec-internal-router

Conversation

@mazzma12

Copy link
Copy Markdown
Collaborator

Stacked on #1: when traefik.bot_detection is enabled (written by the installer opt-in), Pangolin generates a Host(`<domain>`) && PathPrefix(`/crowdsec-internal`) router per resource domain pointing to noop@internal, so the challenge works on path-based resources without a catch-all.
Tested with a Pangolin dev server: challenge solved on a path-based resource with the flag on, "Verification failed" with it off; HTTPS router and TLS verified in Traefik's API.
Fixes #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant