diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-11-11 11:26:02 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-11-16 15:41:41 +0100 |
commit | 9c58ec28d3b23accf782c6eb005b7c3966ec6314 (patch) | |
tree | a328628c5fb6c6067dbe06ef7d5af8b5f645d15d /src/util | |
parent | cdeb5b4dbb7ed95c7ff19f5d1cccdd69b5104c45 (diff) | |
download | garage-9c58ec28d3b23accf782c6eb005b7c3966ec6314.tar.gz garage-9c58ec28d3b23accf782c6eb005b7c3966ec6314.zip |
add support for vhost-style s3 bucket
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index 0e4c76ae..33802012 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -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 |