fix(infra): add teleuploader traefik router for upload hostnames

Restore upload.asepharyana.my.id/.web.id routing lost during Nix migration
(docker label router removed with container). Upload chain uses 2GB body
buffer + dedicated 300/100 rate limit, service targets bun on host:3000.
This commit is contained in:
Asep Haryana
2026-08-01 12:34:22 +07:00
parent c535ee7858
commit e19fa76dc3
2 changed files with 50 additions and 0 deletions
+20
View File
@@ -78,3 +78,23 @@ http:
- retry
- rate-limit
- buffer
# ── TeleUploader Chain (2GB body buffer — large file uploads) ──
upload-buffer:
buffering:
maxRequestBodyBytes: 2147483648
maxResponseBodyBytes: 10485760
memRequestBodyBytes: 1048576
memResponseBodyBytes: 1048576
upload-rate-limit:
rateLimit:
average: 300
burst: 100
period: 1m
upload-chain:
chain:
middlewares:
- secure-headers
- retry
- upload-rate-limit
- upload-buffer