fix(server): set correct domain and root_url for forgejo
This commit is contained in:
parent
e994df5675
commit
3f4c051fe1
1 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,11 @@ in
|
|||
});
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
settings.server.HTTP_PORT = cfg.port;
|
||||
settings.server = {
|
||||
DOMAIN = cfg.url;
|
||||
ROOT_URL = "https://${cfg.url}/";
|
||||
HTTP_PORT = cfg.port;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue