gitea #8

Merged
pleshevskiy merged 4 commits from gitea into main 2022-10-18 23:57:09 +03:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 6460f9a1ef - Show all commits

View file

@ -51,7 +51,7 @@ in
domain = "nix-git.pleshevski.ru"; domain = "nix-git.pleshevski.ru";
rootUrl = "https://nix-git.pleshevski.ru"; rootUrl = "https://nix-git.pleshevski.ru";
appName = "Pleshevskiy Git Repositories"; appName = "Pleshevskiy Git Repositories";
mailerPasswordFile = config.age.secrets.mailserver-users-jan-passfile.path; mailerPasswordFile = config.age.secrets.gitea-mailserver-passfile.path;
database = { database = {
type = "postgres"; type = "postgres";
host = "/run/postgresql"; host = "/run/postgresql";
@ -129,9 +129,16 @@ in
}; };
}; };
services.nginx.virtualHosts."nix-git.pleshevski.ru" = { services.nginx.virtualHosts."nix-git.pleshevski.ru" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
locations."/".proxyPass = "http://localhost:${toString config.services.gitea.httpPort}/"; 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.