commit 12ef2ec62b964efd7552b57c744eca8570871027 parent 736811fe3907dadc2191a8758a1c33a798113988 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 26 Aug 2023 20:55:28 +0200 Install looking glass Diffstat:
| M | nixos/worker-1/configuration.nix | | | 26 | ++++++++++++++++++++++++++ |
1 file changed, 26 insertions(+), 0 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -538,6 +538,24 @@ ''; }; + bird-lg = { + proxy = { + enable = true; + allowedIPs = [ "127.0.0.1" ]; + }; + frontend = { + enable = true; + titleBrand = "Midnightthoughts infra"; + brand = "Midnightthoughts infra"; + listenAddress = "127.0.0.1:5001"; + domain = "internal.midnightthoughts.space"; + servers = [ + "worker-1" + "nordgedanken" + ]; + }; + }; + postgresql = { enableJIT = true; enable = false; @@ -845,6 +863,14 @@ proxyWebsockets = true; }; }; + "lg.midnightthoughts.space" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = + "http://localhost:5001"; + }; + }; }; };