Files
homelab/searxng/k8s/ingress.yaml
T
forustandCopilot ed1ddaad5d feat(crowdsec): restore web traffic protection
Protect public Traefik routes with CrowdSec HTTP decisions and restore access logging for web traffic analysis.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-12 21:05:12 +02:00

35 lines
815 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: searxng-prod
namespace: searxng
spec:
entryPoints:
- websecure
routes:
- match: Host(`s.forust.xyz`) || Host(`search.forust.xyz`)
kind: Rule
middlewares:
- name: crowdsec-bouncer
namespace: crowdsec
services:
- name: searxng-service
port: 8080
tls:
certResolver: letsencrypt
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: searxng-local
namespace: searxng
spec:
entryPoints:
- websecure
routes:
- match: Host(`s.workstation.internal`) || Host(`searxng.workstation.internal`) || Host(`s.gigaforust.internal`) || Host(`searxng.gigaforust.internal`)
kind: Rule
services:
- name: searxng-service
port: 8080