Files
cf-multisite/wrangler.toml
kappa 8850031c45
Some checks failed
Deploy to CF Multisite / deploy (push) Failing after 1m53s
Initial commit: CF Multisite 멀티테넌트 정적 호스팅
- Cloudflare Workers + R2 기반
- Edge 캐싱으로 비용 절감
- 티어별 Rate Limiting (free/basic/pro)
- KV 기반 사용량 추적
- Admin API (usage, customers, tiers, stats)
- Gitea Actions 배포 워크플로우

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 09:20:46 +09:00

31 lines
585 B
TOML

name = "cf-multisite"
main = "src/worker.js"
compatibility_date = "2024-12-01"
# R2 버킷 바인딩
[[r2_buckets]]
binding = "BUCKET"
bucket_name = "multisite-bucket"
# KV 네임스페이스 (사용량 추적)
[[kv_namespaces]]
binding = "USAGE"
id = "16cb07c303e64ed49ab179b6d5be7c32"
# 커스텀 도메인 설정
routes = [
{ pattern = "*.actions.it.com", zone_name = "actions.it.com" }
]
# 개발용 로컬 R2
[dev]
port = 8787
# 환경별 설정
[env.production]
name = "cf-multisite-prod"
[[env.production.r2_buckets]]
binding = "BUCKET"
bucket_name = "multisite-bucket"