mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 09:01:16 +00:00
require sign-in for all forgejo access (#26)
Adds REQUIRE_SIGNIN_VIEW to prevent unauthenticated cloning and browsing.
This commit is contained in:
parent
50702bc647
commit
54e766b728
1 changed files with 4 additions and 1 deletions
|
|
@ -270,7 +270,10 @@ in
|
||||||
HTTP_PORT = 19300;
|
HTTP_PORT = 19300;
|
||||||
SSH_DOMAIN = forgejoDomain;
|
SSH_DOMAIN = forgejoDomain;
|
||||||
};
|
};
|
||||||
service.DISABLE_REGISTRATION = true;
|
service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
REQUIRE_SIGNIN_VIEW = true;
|
||||||
|
};
|
||||||
session.COOKIE_SECURE = true;
|
session.COOKIE_SECURE = true;
|
||||||
mirror = {
|
mirror = {
|
||||||
DEFAULT_INTERVAL = "1h";
|
DEFAULT_INTERVAL = "1h";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue