gitea #8
2 changed files with 8 additions and 1 deletions
|
@ -51,7 +51,7 @@ in
|
|||
domain = "nix-git.pleshevski.ru";
|
||||
rootUrl = "https://nix-git.pleshevski.ru";
|
||||
appName = "Pleshevskiy Git Repositories";
|
||||
mailerPasswordFile = config.age.secrets.mailserver-users-jan-passfile.path;
|
||||
mailerPasswordFile = config.age.secrets.gitea-mailserver-passfile.path;
|
||||
database = {
|
||||
type = "postgres";
|
||||
host = "/run/postgresql";
|
||||
|
@ -129,9 +129,16 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
services.nginx.virtualHosts."nix-git.pleshevski.ru" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://localhost:${toString config.services.gitea.httpPort}/";
|
||||
};
|
||||
|
||||
age.secrets.gitea-mailserver-passfile = {
|
||||
file = ../../secrets/mailserver-users-jan-passfile.age;
|
||||
owner = config.services.gitea.user;
|
||||
group = "gitea";
|
||||
};
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue