misc
This commit is contained in:
parent
b3373fe32f
commit
409b577818
7 changed files with 171 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue