[yevaud] Change Forgejo domain name
This commit is contained in:
parent
bf2d7f7f10
commit
d9c5393cff
|
@ -10,19 +10,23 @@
|
||||||
# TODO: interface customisation
|
# TODO: interface customisation
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
# TODO: move to new domain
|
"git.qenya.tel" = {
|
||||||
"git.katherina.rocks" = {
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".proxyPass = "http://[::1]:3000/";
|
locations."/".proxyPass = "http://[::1]:3000/";
|
||||||
};
|
};
|
||||||
|
"git.katherina.rocks" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".return = "301 https://git.qenya.tel$request_uri";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
stateDir = "/data/forgejo";
|
stateDir = "/data/forgejo";
|
||||||
settings = {
|
settings = {
|
||||||
DEFAULT.APP_NAME = "git.katherina.rocks";
|
DEFAULT.APP_NAME = "git.qenya.tel";
|
||||||
cache = {
|
cache = {
|
||||||
ADAPTER = "twoqueue";
|
ADAPTER = "twoqueue";
|
||||||
HOST = ''{"size": 100, "recent_ratio": 0.25, "ghost_ratio": 0.5}'';
|
HOST = ''{"size": 100, "recent_ratio": 0.25, "ghost_ratio": 0.5}'';
|
||||||
|
@ -33,9 +37,9 @@
|
||||||
};
|
};
|
||||||
security.LOGIN_REMEMBER_DAYS = 365;
|
security.LOGIN_REMEMBER_DAYS = 365;
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = "git.katherina.rocks";
|
DOMAIN = "git.qenya.tel";
|
||||||
HTTP_PORT = 3000;
|
HTTP_PORT = 3000;
|
||||||
ROOT_URL = "https://git.katherina.rocks/";
|
ROOT_URL = "https://git.qenya.tel/";
|
||||||
};
|
};
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue