From 84f0c9ee47e648ace941b322b4cedaa010df2dc1 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 5 Feb 2024 20:51:30 +0100 Subject: [PATCH] add root domain parameters For vhost style access (bucketname.domain.tld) --- conf/garage.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/garage.toml b/conf/garage.toml index d97ea8c..274e21d 100644 --- a/conf/garage.toml +++ b/conf/garage.toml @@ -22,9 +22,12 @@ bootstrap_peers = [] # pour avoir de la sécurité api_bind_addr = "[::]:__PORT_API__" s3_region = "garage" +root_domain = ".__DOMAIN__" # might be used for vhost (instead of path_style) requests (using "bucketname.__DOMAIN__") according to https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#s3_root_domain [s3_web] # Ne supporte pas TLS → reverse proxy obligatoire # pour avoir de la sécurité # utilisé pour l'accès public aux buckets (site web, médias d'instance du fediverse…) bind_addr = "[::]:__PORT_WEB__" +root_domain = ".__DOMAIN__" # might be used for vhost (instead of path_style) requests (using "bucketname.__DOMAIN__") according to https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#web_root_domain +