feat: added minecraft server

This commit is contained in:
Nick 2025-11-18 02:05:01 -06:00
parent 5e8b59c7ad
commit e824bcaae1
5 changed files with 28 additions and 10 deletions

View file

@ -221,14 +221,6 @@ in
};
};
users.users.caddy.extraGroups = [ "acme" ];
security.acme.certs."${host}" = {
dnsProvider = dns;
environmentFile = config.sops.secrets.${dnsPath}.path;
group = "caddy";
};
systemd.tmpfiles.rules = [
"d ${serviceCfg.mntPaths.path0} 0751 microvm wheel - -"
"d ${serviceCfg.mntPaths.path0}/data 0751 microvm wheel - -"
@ -253,6 +245,15 @@ in
]
);
};
users.users.caddy.extraGroups = [ "acme" ];
security.acme.certs."${host}" = {
dnsProvider = dns;
environmentFile = config.sops.secrets.${dnsPath}.path;
group = "caddy";
};
services.caddy.virtualHosts."${host}" = {
extraConfig = ''
reverse_proxy http://${serviceCfg.interface.ip}:80 {