about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-13T21·23+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-20T10·26+0100
commit0b34482b6da9ef0d2178d5dba5a99485d62281d8 (patch)
treeebcabda9b4e8f51be7c0b97685245dfefe7f9369 /nixos
parentf895cb417a7a397e9ddac7d2be7683e57e3cb1fb (diff)
Forward zoo.wpcarro.dev connections to :8000
Right now the 8000 port is hard-coded into the zoo server, which isn't ideal,
but "it works" (TM).
Diffstat (limited to 'nixos')
-rw-r--r--nixos/socrates/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix
index 0af4a314191d..c04281e4ac61 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -209,6 +209,13 @@ in {
         enableACME = true;
         root = briefcase.website.sandbox.learnpianochords;
       };
+      "zoo.wpcarro.dev" = {
+        addSSL = true;
+        enableACME = true;
+        locations."/" = {
+          proxyPass = "http://localhost:8000";
+        };
+      };
     };
   };