Skip to content

CORS & Proxy Fallback

By default, Kova streams uploads and downloads directly between your browser and S3/R2 using short-lived presigned URLs.

[
{
"AllowedHeaders": ["*"],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"],
"AllowedOrigins": ["https://kova.example.com"],
"ExposeHeaders": ["ETag", "Content-Length", "Content-Type"],
"MaxAgeSeconds": 3600
}
]

If you do not have permission to configure CORS on a bucket, enable Proxy fallback on the connection. Kova streams bytes through Web Streams without buffering files in RAM.

Open-source MinIO returns 501 NotImplemented for per-bucket S3 PutBucketCors and GetBucketCors requests. Instead of per-bucket rules, configure CORS globally on your MinIO server with MINIO_API_CORS_ALLOW_ORIGIN (which defaults to *), or enable Proxy fallback on the connection in Kova.