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;
|
||||
};
|
||||
cors = {
|
||||
ALLOW_DOMAIN = config.services.gitea.domain;
|
||||
ALLOW_DOMAIN = config.services.gitea.settings.server.DOMAIN;
|
||||
ENABLED = true;
|
||||
SCHEME = "https";
|
||||
};
|
||||
|
|
@ -206,7 +206,7 @@ in
|
|||
virtualHosts."git.rs.ht" = {
|
||||
forceSSL = 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