fix(server): set correct domain and root_url for forgejo

This commit is contained in:
Mohammad Rafiq 2025-06-14 22:42:00 +08:00
parent e994df5675
commit 3f4c051fe1
No known key found for this signature in database

View file

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