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 '';