From fb615314d4906f05ff0f101eac76a53e0e4bde09 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 19 Aug 2024 21:57:44 -0300 Subject: [PATCH] forgejo: disable registration and enable reverse proxy authentication --- services/forgejo.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/forgejo.nix b/services/forgejo.nix index dc78937..39b25c5 100644 --- a/services/forgejo.nix +++ b/services/forgejo.nix @@ -6,10 +6,15 @@ settings = { server = { - DISABLE_REGISTRATION = true; HTTP_PORT = 3788; ROOT_URL = "https://git.thewizard.link"; }; + + service = { + DISABLE_REGISTRATION = true; + ENABLE_REVERSE_PROXY_AUTHENTICATION = true; + ENABLE_REVERSE_PROXY_AUTHENTICATION_API = true; + }; }; }; }