support redirection on s3 endpoint #910

Merged
lx merged 13 commits from trinity-1686a/garage:1686a/s3-redirects into next-v2 2025-02-14 12:58:48 +00:00
Showing only changes of commit 9b7fea4cb0 - Show all commits

View file

@ -229,7 +229,7 @@ impl WebsiteConfiguration {
pub fn into_garage_website_config(self) -> Result<WebsiteConfig, Error> {
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 {