From 8632bab88f516f097145ad91a0aaf156391ffb5b Mon Sep 17 00:00:00 2001 From: Till Date: Wed, 14 Jan 2026 15:22:06 +0100 Subject: [PATCH] forgejo --- system/web-server/forgejo.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/web-server/forgejo.nix b/system/web-server/forgejo.nix index f29d56a..8761e74 100644 --- a/system/web-server/forgejo.nix +++ b/system/web-server/forgejo.nix @@ -13,7 +13,7 @@ in "git.ktiu.net" ]; - services.nginx.virtualHosts."${srv.DOMAIN}" = { + services.nginx.virtualHosts."git.ktiu.net" = { onlySSL = true; useACMEHost = config.networking.domain; locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}"; @@ -32,9 +32,9 @@ in settings = { server = { - DOMAIN = "git.${config.networking.domain}"; - # You need to specify this to remove the port from URLs in the web UI. - ROOT_URL = "https://${srv.DOMAIN}/"; + # DOMAIN = "git.${config.networking.domain}"; + # # You need to specify this to remove the port from URLs in the web UI. + # ROOT_URL = "https://git.ktiu.net/"; HTTP_PORT = 3080; };