mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-07-26 07:58:14 +00:00
doc: websites: explain global aliases required (#1494)
Add a note explaining that a globally aliased bucket is required for successfully exposing it as a website. Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1494
This commit is contained in:
@@ -25,6 +25,13 @@ garage bucket website --allow my-website
|
|||||||
|
|
||||||
Now it will be **publicly** exposed on the web endpoint (by default listening on port 3902).
|
Now it will be **publicly** exposed on the web endpoint (by default listening on port 3902).
|
||||||
|
|
||||||
|
> The bucket needs to have a *global alias* to be exposed as a website. If the
|
||||||
|
> bucket was created with `garage bucket create` it will have an alias;
|
||||||
|
> if created via the S3 API [you will have to manually add the alias
|
||||||
|
> ](https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/742) first.
|
||||||
|
> Creating globally aliased buckets from the S3 API is [currently under
|
||||||
|
> discussion](https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/649).
|
||||||
|
|
||||||
## How exposed websites work
|
## How exposed websites work
|
||||||
|
|
||||||
Our website serving logic is as follow:
|
Our website serving logic is as follow:
|
||||||
|
|||||||
Reference in New Issue
Block a user