forgejo: disable registration and enable reverse proxy authentication
This commit is contained in:
parent
e9a1415309
commit
fb615314d4
|
@ -6,10 +6,15 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
DISABLE_REGISTRATION = true;
|
|
||||||
HTTP_PORT = 3788;
|
HTTP_PORT = 3788;
|
||||||
ROOT_URL = "https://git.thewizard.link";
|
ROOT_URL = "https://git.thewizard.link";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
ENABLE_REVERSE_PROXY_AUTHENTICATION = true;
|
||||||
|
ENABLE_REVERSE_PROXY_AUTHENTICATION_API = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue