forgejo: disable registration and enable reverse proxy authentication

This commit is contained in:
Alexandre Cavalheiro 2024-08-19 21:57:44 -03:00
parent e9a1415309
commit fb615314d4
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -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;
};
};
};
}