mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-20 01:52:15 +00:00
add support for vhost-style s3 bucket
This commit is contained in:
@@ -68,6 +68,9 @@ pub struct ApiConfig {
|
||||
pub api_bind_addr: SocketAddr,
|
||||
/// S3 region to use
|
||||
pub s3_region: String,
|
||||
/// Suffix to remove from domain name to find bucket. If None,
|
||||
/// vhost-style S3 request are disabled
|
||||
pub root_domain: Option<String>,
|
||||
}
|
||||
|
||||
/// Configuration for serving files as normal web server
|
||||
|
||||
Reference in New Issue
Block a user