Change Gitea's rootUrl
This value defaults to localhost:3000, which works, but then Gitea renders "http://localhost:3000/wpcarro/briefcase" as the URL to clone my briefcase repository.
This commit is contained in:
parent
5e2f54b0fb
commit
5c378aadcb
1 changed files with 6 additions and 1 deletions
|
@ -81,7 +81,12 @@ in {
|
|||
|
||||
services.openssh.enable = true;
|
||||
|
||||
services.gitea.enable = true;
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
# Without this the links to clone a repository like briefcase will be
|
||||
# "http://localhost:3000/wpcarro/briefcase".
|
||||
rootUrl = "https://git.wpcarro.dev/";
|
||||
};
|
||||
|
||||
systemd.services.monzo-token-server = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue