From 006daa6ebc4c7d7ebe7a3f38397800518a2a1f90 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 23 Oct 2024 17:35:17 +0200 Subject: [PATCH] system/services/forgejo: enable on ipv4 --- system/services/forgejo.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/system/services/forgejo.nix b/system/services/forgejo.nix index 25756ec..fca61b0 100644 --- a/system/services/forgejo.nix +++ b/system/services/forgejo.nix @@ -1,6 +1,5 @@ { config, - lib, pkgs, ... }: let @@ -21,7 +20,7 @@ in { DOMAIN = "git.nezia.dev"; HTTP_PORT = 1849; ROOT_URL = "https://${srv.DOMAIN}/"; - HTTP_ADDR = "::1"; + HTTP_ADDR = "localhost"; }; service = { DISABLE_REGISTRATION = true; @@ -35,7 +34,7 @@ in { caddy = { enable = true; virtualHosts."git.nezia.dev".extraConfig = '' - reverse_proxy * [::1]:${toString srv.HTTP_PORT} + reverse_proxy * localhost:${toString srv.HTTP_PORT} ''; }; };