fix: use a wildcard for the minecraft servers
This commit is contained in:
parent
89dcf295b3
commit
4251032e03
2 changed files with 3 additions and 11 deletions
|
@ -5,7 +5,7 @@
|
|||
in {
|
||||
imports = [
|
||||
./dns.nix
|
||||
./acme.nix
|
||||
|
||||
./games/minecraft.nix
|
||||
];
|
||||
|
||||
|
@ -44,10 +44,6 @@
|
|||
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
skynet_acme.domains = [
|
||||
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
|
||||
];
|
||||
|
||||
skynet_dns.records = [
|
||||
# need a base domain
|
||||
{record=cfg.domain.sub; r_type="CNAME"; value=cfg.host.name;}
|
||||
|
|
|
@ -54,12 +54,8 @@
|
|||
];
|
||||
|
||||
skynet_acme.domains = [
|
||||
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
|
||||
"config.${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}"
|
||||
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
|
||||
"*.${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
|
||||
];
|
||||
|
||||
skynet_dns.records = [
|
||||
|
|
Loading…
Reference in a new issue