require sign-in for all forgejo access

Adds REQUIRE_SIGNIN_VIEW to prevent unauthenticated cloning and browsing.
This commit is contained in:
Harivansh Rathi 2026-04-01 16:36:53 -04:00
parent 50702bc647
commit 4a45624d6b

View file

@ -270,7 +270,10 @@ in
HTTP_PORT = 19300;
SSH_DOMAIN = forgejoDomain;
};
service.DISABLE_REGISTRATION = true;
service = {
DISABLE_REGISTRATION = true;
REQUIRE_SIGNIN_VIEW = true;
};
session.COOKIE_SECURE = true;
mirror = {
DEFAULT_INTERVAL = "1h";