diff --git a/services/garage/default.nix b/services/garage/default.nix index 771f0cb..f8e8de6 100644 --- a/services/garage/default.nix +++ b/services/garage/default.nix @@ -5,6 +5,11 @@ services.caddy.virtualHosts."s3.gasdev.fr *.s3.gasdev.fr" = { logFormat = "output file ${config.services.caddy.logDir}/access-s3.gasdev.fr.log"; extraConfig = '' + header { + ?Access-Control-Allow-Headers * + ?Access-Control-Allow-Methods * + ?Access-Control-Allow-Origin * + } reverse_proxy http://127.0.0.1:3900 ''; }; diff --git a/services/outline/default.nix b/services/outline/default.nix index 4a835b7..d9f770c 100644 --- a/services/outline/default.nix +++ b/services/outline/default.nix @@ -43,6 +43,7 @@ accessKey = "GKd60d7ca02de8478633442cf6"; secretKeyFile = config.sops.secrets."outline/S3_SECRET_KEY".path; region = "garage"; + forcePathStyle = false; }; };