magpie/gitea: update config syntax
This commit is contained in:
parent
48e0a3c06d
commit
695157c354
@ -113,12 +113,12 @@
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
virtualHosts.${config.services.gitea.settings.server.domain} = {
|
||||
virtualHosts.${config.services.gitea.settings.server.DOMAIN} = {
|
||||
quic = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.gitea.settings.server.httpPort}";
|
||||
proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}";
|
||||
};
|
||||
};
|
||||
virtualHosts.${config.services.restya-board.virtualHost.serverName} = {
|
||||
@ -144,9 +144,8 @@
|
||||
type = "postgres";
|
||||
passwordFile = config.sops.secrets."postgres/gitea_dbpass".path;
|
||||
};
|
||||
settings.server.domain = "git.project-cloud.net";
|
||||
settings.server.rootUrl = "https://git.project-cloud.net/";
|
||||
settings.server.httpPort = 3001;
|
||||
settings.server.DOMAIN = "git.project-cloud.net";
|
||||
settings.server.HTTP_PORT = 3001;
|
||||
extraConfig = let
|
||||
docutils =
|
||||
pkgs.python3.withPackages (ps: with ps; [docutils pygments]);
|
||||
|
Loading…
Reference in New Issue
Block a user