Please work

This commit is contained in:
Andrea Ciceri 2023-06-25 12:15:18 +02:00
parent 5315feb612
commit d7e82621c8
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
16 changed files with 179 additions and 42 deletions

17
modules/minio/default.nix Normal file
View file

@ -0,0 +1,17 @@
{config, ...}: {
imports = [../nginx-base];
services.minio = {
enable = true;
rootCredentialsFile = config.age.secrets.minio-credentials.path;
region = "eu-central-1";
};
services.nginx.virtualHosts."cache.aciceri.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:9000";
};
};
}