This commit is contained in:
goeranh 2025-10-24 16:37:57 +02:00
parent b3373fe32f
commit 409b577818
No known key found for this signature in database
7 changed files with 171 additions and 15 deletions

View file

@ -50,6 +50,28 @@ in
];
services.openssh.enable = true;
services.forgejo = {
enable = true;
settings = {
server = {
PROTOCOL = "http+unix";
HTTP_ADDR = "/var/run/forgejo.sock";
ROOT_URL = "https://${config.networking.fqdn}";
};
};
};
services.nginx = {
enable = true;
virtualHosts."git.htw.stura-dresden.de" = {
locations."/" = {
recommendedProxySettings = true;
proxyWebsockets = true;
proxyPass = "http://unix:/var/run/forgejo.sock";
};
};
};
# virtualisation.docker.enable = true;
security.acme.acceptTerms = true;