Verified Commit e2bd2825 authored by Tim Schubert's avatar Tim Schubert
Browse files

fixup gitea config

parent 5246f8ad
......@@ -11,7 +11,7 @@ in
services.gitea = {
enable = true;
appName = "FG-Info Gitea";
rootUrl = "https://git.fginfo.tu-bs.de/";
rootUrl = "https://git.${config.networking.domain}/";
log.level = "Error";
domain = config.networking.domain;
ssh.enable = true;
......@@ -55,9 +55,9 @@ in
services.nginx.virtualHosts."git.${config.networking.domain}" = {
enableACME = false;
forceSSL = true;
sslCertificate = "/var/lib/git/cert.pem";
sslCertificateKey = "/var/lib/gitea/private-key.pem";
sslTrustedCertificate = "/var/lib/gitea/tu-bs-chain.pem";
sslCertificate = ./cert.pem;
sslCertificateKey = "/var/lib/gitea/private-key.pem"; # TODO
sslTrustedCertificate = ../tu-bs.de.chain.pem;
locations."/".extraConfig = ''
proxy_pass http://unix:/run/gitea/gitea.sock:/;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment