perf(api): кэш-заголовки статики, CORS по allowlist, раздельные health/ready, compress в Traefik

This commit is contained in:
Denozordec committed 2026-10-23 16:55:59 +07:00
1 parent 30d331c633
commit 1d7ea35a23
9 files changed
+269 -83

No files matched your search

+4
View File
@@ -88,6 +88,10 @@ services:
- traefik.http.routers.auth-portal.tls=true
- traefik.http.routers.auth-portal.tls.certresolver=letsencrypt
- traefik.http.services.auth-portal.loadbalancer.server.port=8080
# Сжатие JSON/текста на стороне Traefik (ноль CPU/RAM в Node);
# предсжатые .br/.gz статики Traefik не пересжимает (есть Content-Encoding).
- traefik.http.middlewares.auth-portal-compress.compress=true
- traefik.http.routers.auth-portal.middlewares=auth-portal-compress
healthcheck:
test:
[