forgejo: shorten the server settings
This commit is contained in:
parent
e335d6e331
commit
f029840713
|
@ -18,11 +18,11 @@ in
|
|||
services.forgejo = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
server = rec {
|
||||
PROTOCOL = "http+unix";
|
||||
DOMAIN = "git.tigor.web.id";
|
||||
HTTP_PORT = 443;
|
||||
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}:${toString config.services.forgejo.settings.server.HTTP_PORT}";
|
||||
ROOT_URL = "https://${DOMAIN}:${toString HTTP_PORT}";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
|
|
Loading…
Reference in a new issue