From 2859b2747d364600c59713509d10b2e2f27cffb6 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 10 May 2024 23:18:04 +0200 Subject: [PATCH] fix forgejo error --- nixos/machines/chungus/services-forgejo.nix | 2 +- nixos/machines/orbi/service-forgejo.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/machines/chungus/services-forgejo.nix b/nixos/machines/chungus/services-forgejo.nix index 6d2117d..7f3f903 100644 --- a/nixos/machines/chungus/services-forgejo.nix +++ b/nixos/machines/chungus/services-forgejo.nix @@ -11,7 +11,7 @@ deny all; ''; locations."/" = { - proxyPass = "http://localhost:${toString config.services.gogs.httpPort}"; + proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}"; }; }; }; diff --git a/nixos/machines/orbi/service-forgejo.nix b/nixos/machines/orbi/service-forgejo.nix index 10de57e..bf1724f 100644 --- a/nixos/machines/orbi/service-forgejo.nix +++ b/nixos/machines/orbi/service-forgejo.nix @@ -9,7 +9,7 @@ forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://localhost:${toString config.services.forgejo.httpPort}"; + proxyPass = "http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}"; }; }; };