From 9b7fea4cb0acabee5e6a4272e00e4947090630d4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 4 Jan 2025 19:16:24 +0100 Subject: [PATCH] put bucket website: improve error message for redirectallrequests --- src/api/s3/website.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/s3/website.rs b/src/api/s3/website.rs index 6ec786a0..9c1422b5 100644 --- a/src/api/s3/website.rs +++ b/src/api/s3/website.rs @@ -229,7 +229,7 @@ impl WebsiteConfiguration { pub fn into_garage_website_config(self) -> Result { if self.redirect_all_requests_to.is_some() { Err(Error::NotImplemented( - "S3 website redirects are not currently implemented in Garage.".into(), + "RedirectAllRequestsTo is not currently implemented in Garage, however its effect can be emulated using a single inconditional RoutingRule.".into(), )) } else { Ok(WebsiteConfig {