Files
gooseek/deploy/docker/Caddyfile
home 06fe57c765 feat: Go backend, enhanced search, new widgets, Docker deploy
Major changes:
- Add Go backend (backend/) with microservices architecture
- Enhanced master-agents-svc: reranker, content-classifier, stealth-crawler,
  proxy-manager, media-search, fastClassifier, language detection
- New web-svc widgets: KnowledgeCard, ProductCard, ProfileCard, VideoCard,
  UnifiedCard, CardGallery, InlineImageGallery, SourcesPanel, RelatedQuestions
- Improved discover-svc with discover-db integration
- Docker deployment improvements (Caddyfile, vendor.sh, BUILD.md)
- Library-svc: project_id schema migration
- Remove deprecated finance-svc and travel-svc
- Localization improvements across services

Made-with: Cursor
2026-02-27 04:15:32 +03:00

39 lines
1.0 KiB
Caddyfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# gooseek.ru, bait.su — reverse proxy
# Caddy автоматически получает SSL от Let's Encrypt
# Защита от DDoS: rate_limit (per-IP), лимит тела запроса
#
# Healthcheck Docker: запросы с 127.0.0.1 получают 200 без редиректа и без rate_limit,
# иначе wget --spider падает на редиректе и autoheal постоянно перезапускает контейнер.
http://127.0.0.1 {
respond 200
}
gooseek.ru, www.gooseek.ru {
request_body {
max_size 10MB
}
rate_limit {
zone per_ip {
key {http.request.remote.host}
events 300
window 1m
}
}
header Cache-Control "no-cache, no-store, must-revalidate"
reverse_proxy web-svc:3000
}
bait.su, www.bait.su {
request_body {
max_size 10MB
}
rate_limit {
zone per_ip {
key {http.request.remote.host}
events 300
window 1m
}
}
reverse_proxy ghost:2368
}