Fix Forgejo's root URL
This commit is contained in:
parent
bce4e8adf7
commit
3d15b7e394
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@ in
|
||||||
stateDir = "/var/www/${service}";
|
stateDir = "/var/www/${service}";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
server.DOMAIN = cfg.url;
|
server = {
|
||||||
|
DOMAIN = cfg.url;
|
||||||
|
ROOT_URL = "https://${cfg.url}";
|
||||||
|
};
|
||||||
|
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue