From 444da4aa05cd9ab8c03974413b4f1dfb317148c3 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 5 Apr 2020 14:55:44 +0100 Subject: [PATCH] Forward git.wpcarro.dev connections to :3000 Gitea is running a web server on localhost:3000. --- nixos/socrates/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix index d2b46972c..564ee48e8 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;