From 4251032e03652330e523ab6b3c573bdc94056f74 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 6 Aug 2023 20:53:04 +0100 Subject: [PATCH] fix: use a wildcard for the minecraft servers --- applications/games.nix | 6 +----- applications/games/minecraft.nix | 8 ++------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/applications/games.nix b/applications/games.nix index 7d1edc4..7c7b126 100644 --- a/applications/games.nix +++ b/applications/games.nix @@ -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;} diff --git a/applications/games/minecraft.nix b/applications/games/minecraft.nix index 7e1d2c3..4fc1a17 100644 --- a/applications/games/minecraft.nix +++ b/applications/games/minecraft.nix @@ -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 = [