From 9c58ec28d3b23accf782c6eb005b7c3966ec6314 Mon Sep 17 00:00:00 2001 From: Trinity Pointard Date: Thu, 11 Nov 2021 11:26:02 +0100 Subject: add support for vhost-style s3 bucket --- src/util/config.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util/config.rs') 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, } /// Configuration for serving files as normal web server -- cgit v1.2.3