From 07b58d329af15090caac2834c5574eb0798718e6 Mon Sep 17 00:00:00 2001
From: Emile <git@emile.space>
Date: Thu, 19 Sep 2024 10:26:09 +0200
Subject: added server aliases for the hackoween event

Without this, the certificates aren't valid for the tickets.hackoween.de
event, adding this allows the automatic insertion of these into the
cert. This is applicable for tickets and talks and has been tested to
be working.
---
 nix/hosts/corrino/www/talks.emile.space.nix   | 2 ++
 nix/hosts/corrino/www/tickets.emile.space.nix | 1 +
 2 files changed, 3 insertions(+)

(limited to 'nix')

diff --git a/nix/hosts/corrino/www/talks.emile.space.nix b/nix/hosts/corrino/www/talks.emile.space.nix
index ae01237..3bc06f5 100644
--- a/nix/hosts/corrino/www/talks.emile.space.nix
+++ b/nix/hosts/corrino/www/talks.emile.space.nix
@@ -7,7 +7,9 @@
     nginx.virtualHosts."talks.emile.space" = {
       forceSSL = true;
       enableACME = true;
+      serverAliases = [ "talks.hackoween.de" ];
     };
+
     pretalx = {
       package = pkgs.pretalx;
       enable = true;
diff --git a/nix/hosts/corrino/www/tickets.emile.space.nix b/nix/hosts/corrino/www/tickets.emile.space.nix
index cec3331..a53b878 100644
--- a/nix/hosts/corrino/www/tickets.emile.space.nix
+++ b/nix/hosts/corrino/www/tickets.emile.space.nix
@@ -10,6 +10,7 @@
   services.nginx.virtualHosts."tickets.emile.space" = {
     forceSSL = true;
     enableACME = true;
+    serverAliases = [ "tickets.hackoween.de" ];
   };
 
   services = {
-- 
cgit 1.4.1