From 9fa21dba9cb637b6ac6ae8495897e076e7fd8b3c Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sat, 12 Oct 2024 18:10:49 +0200 Subject: [PATCH] fix(garage): Added new domains --- services/garage/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/garage/default.nix b/services/garage/default.nix index 002a5e8..57b3f95 100644 --- a/services/garage/default.nix +++ b/services/garage/default.nix @@ -2,10 +2,18 @@ {...}: { sops.secrets."garage/RPC_SECRET".owner = "root"; + services.caddy.virtualHosts."s3.gasdev.fr".extraConfig = '' + reverse_proxy http://127.0.0.1:3900 + ''; + services.caddy.virtualHosts."*.s3.gasdev.fr".extraConfig = '' reverse_proxy http://127.0.0.1:3900 ''; + services.caddy.virtualHosts."s3web.gasdev.fr".extraConfig = '' + reverse_proxy http://127.0.0.1:3900 + ''; + services.caddy.virtualHosts."*.s3web.gasdev.fr".extraConfig = '' reverse_proxy http://127.0.0.1:3902 '';