19 lines
355 B
Nix
19 lines
355 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
services.minio = {
|
||
|
enable = true;
|
||
|
region = "home";
|
||
|
};
|
||
|
|
||
|
services.nginx = {
|
||
|
enable = true;
|
||
|
virtualHosts."s3.${config.networking.hostName}.private" = {
|
||
|
locations."/" = {
|
||
|
recommendedProxySettings = true;
|
||
|
proxyWebsockets = true;
|
||
|
proxyPass = "http://localhost:9001";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|