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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user