about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2024-09-19 10:26:09 +0200
committerEmile <git@emile.space>2024-09-19 10:26:09 +0200
commit07b58d329af15090caac2834c5574eb0798718e6 (patch)
tree0c669812bf1f1c372fd2dea090b946cd0f47fc16
parent1cb1c99c7d74bda74eff1c188205055abbea1006 (diff)
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.
-rw-r--r--nix/hosts/corrino/www/talks.emile.space.nix2
-rw-r--r--nix/hosts/corrino/www/tickets.emile.space.nix1
2 files changed, 3 insertions, 0 deletions
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 = {