From 3fe7721847ade8e9e3b490ea4cc8e1fe5173b288 Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 28 Aug 2024 08:46:57 +0200 Subject: [PATCH] hosts/web-2: Bind Gitea to IPv6 --- hosts/web-2/gitea.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/web-2/gitea.nix b/hosts/web-2/gitea.nix index 7a08857..49e23b8 100644 --- a/hosts/web-2/gitea.nix +++ b/hosts/web-2/gitea.nix @@ -28,7 +28,7 @@ server = { ROOT_URL = "https://git.clerie.de/"; DOMAIN = "git.clerie.de"; - HTTP_ADDRESS = "127.0.0.1"; + HTTP_ADDRESS = "::1"; HTTP_PORT = 3000; OFFLINE_MODE = true; LANDING_PAGE = "explore"; @@ -80,7 +80,7 @@ forceSSL = true; locations = { "/" = { - proxyPass = "http://localhost:3000"; + proxyPass = "http://[::1]:3000"; }; }; extraConfig = ''