tripit: tripit-api ingress joins the dedicated 100/1000 rate-limit
Follow-up to eef4dc7f: the Android Shell's dedicated bearer-auth host
(tripit-api, ADR-0017) serves the same thumbnail-proxy traffic and was
still on the default 10/50 limiter — the shell's photo grid would have
hit the identical 429 wall Viktor just reported on the PWA host.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
eef4dc7f63
commit
b1b9de90e4
1 changed files with 16 additions and 9 deletions
|
|
@ -838,13 +838,20 @@ module "ingress_api" {
|
||||||
# tripit slice 2; 401 for everything else). strip-auth-headers deletes
|
# tripit slice 2; 401 for everything else). strip-auth-headers deletes
|
||||||
# inbound X-authentik-* so the hybrid fallback header can never be spoofed
|
# inbound X-authentik-* so the hybrid fallback header can never be spoofed
|
||||||
# through this host.
|
# through this host.
|
||||||
auth = "none"
|
auth = "none"
|
||||||
anti_ai_scraping = false
|
anti_ai_scraping = false
|
||||||
dns_type = "proxied"
|
dns_type = "proxied"
|
||||||
namespace = kubernetes_namespace.tripit.metadata[0].name
|
namespace = kubernetes_namespace.tripit.metadata[0].name
|
||||||
name = "tripit-api"
|
name = "tripit-api"
|
||||||
service_name = "tripit"
|
service_name = "tripit"
|
||||||
port = 8080
|
port = 8080
|
||||||
tls_secret_name = var.tls_secret_name
|
tls_secret_name = var.tls_secret_name
|
||||||
extra_middlewares = ["traefik-strip-auth-headers@kubernetescrd"]
|
# Same photo-grid burst profile as the main tripit host (the Android Shell's
|
||||||
|
# gallery fetches thumbnails through this host) — share the dedicated
|
||||||
|
# 100/1000 tripit-rate-limit instead of the default 10/50.
|
||||||
|
skip_default_rate_limit = true
|
||||||
|
extra_middlewares = [
|
||||||
|
"traefik-strip-auth-headers@kubernetescrd",
|
||||||
|
"traefik-tripit-rate-limit@kubernetescrd",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue