about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-20T00·22+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-20T00·22+0000
commit54d1a0048a7101dc51bbea49feed7cded5031b17 (patch)
tree0e2eec03a79523cf2a3cb02939d36b6ccc7a230a /nixos
parent76210a217c192bd832a2c57836f7a29c7b6c8908 (diff)
Add sitemap to wpcarro.dev
- Create ./website directory
- Add a sitemap to wpcarro.dev
- Move covid-uk directory to sandbox directory

TODO: Next sandbox, blog, and learn in the website directory
Diffstat (limited to 'nixos')
-rw-r--r--nixos/socrates/configuration.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix
index e3baf3fbdc93..ebe79e096c63 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -154,6 +154,11 @@ in {
     '';
 
     virtualHosts = {
+      "wpcarro.dev" = {
+        addSSL = true;
+        enableACME = true;
+        root = briefcase.website;
+      };
       "learn.wpcarro.dev" = {
         addSSL = true;
         enableACME = true;
@@ -167,9 +172,7 @@ in {
       "sandbox.wpcarro.dev" = {
         addSSL = true;
         enableACME = true;
-        locations."/covid-19/" = {
-          alias = "${briefcase.covid-uk}/";
-        };
+        root = briefcase.sandbox;
       };
     };
   };