From 36eac84f40aa938fd9327ddf4f983736ff550bcf Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 29 Dec 2020 22:29:57 -0500 Subject: Deploy hoogle to Biz.Dev I had to refactor Biz/Bild/Rules.nix. I also had to checkin my patched hoogle.nix file, but I also upstreamed the patch to nixpkgs-dev so it shouldn't stick around for too long. --- Biz/Cloud/Web.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Biz/Cloud') diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix index 56eeb2d..81f3cf0 100644 --- a/Biz/Cloud/Web.nix +++ b/Biz/Cloud/Web.nix @@ -44,6 +44,12 @@ in useACMEHost = rootDomain; }; + "hoogle.${rootDomain}" = { + locations."/".proxyPass = "http://${bensIp}:8008"; + forceSSL = true; + useACMEHost = rootDomain; + }; + "tv.${rootDomain}" = { locations."/".proxyPass = "http://${bensIp}:8096"; # emby runs on port 8096 forceSSL = true; @@ -81,5 +87,6 @@ in "devalloc.io" "matrix.${rootDomain}" "chat.${rootDomain}" + "hoogle.${rootDomain}" ];# } -- cgit v1.2.3