Please work
This commit is contained in:
parent
5315feb612
commit
d7e82621c8
16 changed files with 179 additions and 42 deletions
17
modules/minio/default.nix
Normal file
17
modules/minio/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue