about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-04-05T13·55+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-04-05T13·57+0100
commit444da4aa05cd9ab8c03974413b4f1dfb317148c3 (patch)
treeec4f2b54d0632b59c63e285976c3fc42e5f8c634
parent2686a9a2edb06d9c5bc492487019e2a8ace79c43 (diff)
Forward git.wpcarro.dev connections to :3000
Gitea is running a web server on localhost:3000.
-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 d2b46972c40b..564ee48e860b 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -155,6 +155,13 @@ in {
         enableACME = true;
         root = briefcase.website.learn;
       };
+      "git.wpcarro.dev" = {
+        addSSL = true;
+        enableACME = true;
+        locations."/" = {
+          proxyPass = "http://localhost:3000";
+        };
+      };
       "blog.wpcarro.dev" = {
         addSSL = true;
         enableACME = true;