From deca1f5881181b8af49f044ab8f34159ad034b50 Mon Sep 17 00:00:00 2001
From: Leon Vatthauer <leon.vatthauer@fau.de>
Date: Wed, 8 May 2024 11:09:23 +0200
Subject: [PATCH] change website to www and reenable it

---
 dafoe/services/acme.nix  |  2 +-
 dafoe/services/nginx.nix | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dafoe/services/acme.nix b/dafoe/services/acme.nix
index c2572df..c8f2d9c 100644
--- a/dafoe/services/acme.nix
+++ b/dafoe/services/acme.nix
@@ -5,6 +5,6 @@
     "bitwarden.vatthauer.xyz".email = "leonvatthauer@outlook.com";
     "video.vatthauer.xyz".email = "leonvatthauer@outlook.com";
     "files.vatthauer.xyz".email = "leonvatthauer@outlook.com";
-    #"vatthauer.xyz".email = "leonvatthauer@outlook.com";
+    "www.vatthauer.xyz".email = "leonvatthauer@outlook.com";
   };
 }
diff --git a/dafoe/services/nginx.nix b/dafoe/services/nginx.nix
index b26f04f..b4d42cb 100644
--- a/dafoe/services/nginx.nix
+++ b/dafoe/services/nginx.nix
@@ -31,11 +31,11 @@
       proxyPass = "http://localhost:8096";
     };
   };
-  #services.nginx.virtualHosts."vatthauer.xyz" = {
-  #  forceSSL = true;
-  #  enableACME = true;
-  #  root = pkgs.callPackage ./resumee-website.nix {};
-  #};
+  services.nginx.virtualHosts."www.vatthauer.xyz" = {
+    forceSSL = true;
+    enableACME = true;
+    root = pkgs.callPackage ./resumee-website.nix {};
+  };
   services.nginx.virtualHosts."files.vatthauer.xyz" = {
     forceSSL = true;
     enableACME = true;