diff --git a/forgejo.nix b/forgejo.nix index 71ec204..54522c2 100644 --- a/forgejo.nix +++ b/forgejo.nix @@ -11,8 +11,6 @@ server = { ROOT_URL = "https://git.${domainName}/"; PROTOCOL = "http"; - HTTP_ADDR = "127.0.0.1"; - HTTP_PORT = 3000; DOMAIN = "git.${domainName}"; SSH_PORT = 2222; START_SSH_SERVER = true; @@ -38,8 +36,7 @@ ''; locations = { "/" = { - proxyPass = "http://127.0.0.1:3000"; - recommendedProxySettings = false; + proxyPass = "http://localhost:3000"; extraConfig = '' proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;