From a423603e26d89ec733fbd2f36373b6daf016752f Mon Sep 17 00:00:00 2001 From: Julius de Jeu Date: Fri, 20 May 2022 17:21:36 +0200 Subject: [PATCH] Gitea Lives! --- flake.lock | 6 +++--- machines/nginx/default.nix | 2 +- machines/postgres/default.nix | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 5f6fd55..4977d69 100644 --- a/flake.lock +++ b/flake.lock @@ -77,11 +77,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1652559422, - "narHash": "sha256-jPVTNImBTUIFdtur+d4IVot6eXmsvtOcBm0TzxmhWPk=", + "lastModified": 1652881001, + "narHash": "sha256-k9JmPCojaJnqGz4aRXXT1HZqJKHCXijoMfBAb24abXk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1", + "rev": "2d474d6a4a43a0348b78db68dc00c491032cf5cf", "type": "github" }, "original": { diff --git a/machines/nginx/default.nix b/machines/nginx/default.nix index 65fbde0..1910d7b 100644 --- a/machines/nginx/default.nix +++ b/machines/nginx/default.nix @@ -22,7 +22,7 @@ enableACME = true; http2 = true; locations."/" = { - proxyPass = "http://gitea.lxd:3000"; + proxyPass = "http://gitea.lxd:3000/"; proxyWebsockets = true; }; }; diff --git a/machines/postgres/default.nix b/machines/postgres/default.nix index 7e9919f..856b398 100644 --- a/machines/postgres/default.nix +++ b/machines/postgres/default.nix @@ -15,6 +15,7 @@ authentication = '' local all all trust host all all 10.0.0.0/8 trust + host all all fd42:14c:5baf:51ec:216:3eff:fe6e:32a7/96 trust ''; ensureDatabases = [ "gitea" ]; ensureUsers = [