change to comply new nixos service
This commit is contained in:
parent
ab57339d71
commit
3f51a5132b
1 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ in
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
};
|
};
|
||||||
cors = {
|
cors = {
|
||||||
ALLOW_DOMAIN = config.services.gitea.domain;
|
ALLOW_DOMAIN = config.services.gitea.settings.server.DOMAIN;
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
SCHEME = "https";
|
SCHEME = "https";
|
||||||
};
|
};
|
||||||
|
|
@ -206,7 +206,7 @@ in
|
||||||
virtualHosts."git.rs.ht" = {
|
virtualHosts."git.rs.ht" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/".proxyPass = "http://localhost:${toString config.services.gitea.httpPort}";
|
locations."/".proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue