fix: use a wildcard for the minecraft servers

This commit is contained in:
silver 2023-08-06 20:53:04 +01:00
parent 89dcf295b3
commit 4251032e03
2 changed files with 3 additions and 11 deletions

View file

@ -5,7 +5,7 @@
in { in {
imports = [ imports = [
./dns.nix ./dns.nix
./acme.nix
./games/minecraft.nix ./games/minecraft.nix
]; ];
@ -44,10 +44,6 @@
config = mkIf cfg.enable { config = mkIf cfg.enable {
skynet_acme.domains = [
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
];
skynet_dns.records = [ skynet_dns.records = [
# need a base domain # need a base domain
{record=cfg.domain.sub; r_type="CNAME"; value=cfg.host.name;} {record=cfg.domain.sub; r_type="CNAME"; value=cfg.host.name;}

View file

@ -55,11 +55,7 @@
skynet_acme.domains = [ skynet_acme.domains = [
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" "${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
"config.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" "*.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
"compsoc_classic.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
"compsoc.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
"gsoc.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
"gsoc_abridged.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
]; ];
skynet_dns.records = [ skynet_dns.records = [