mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
17 lines
373 B
Nix
17 lines
373 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.gitea = {
|
|
enable = true;
|
|
disableRegistration = true;
|
|
domain = "git.kittywit.ch";
|
|
rootUrl = "https://git.kittywit.ch";
|
|
httpAddress = "127.0.0.1";
|
|
};
|
|
|
|
services.nginx.virtualHosts."git.kittywit.ch" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = { "/".proxyPass = "http://127.0.0.1:3000"; };
|
|
};
|
|
}
|