feat" diffkit self host"

This commit is contained in:
Harivansh Rathi 2026-04-14 16:04:06 +00:00
parent d352c45733
commit c74ac67836
5 changed files with 86 additions and 4 deletions

View file

@ -6,6 +6,7 @@ let
forgejoDomain = "git.harivan.sh";
vaultDomain = "vault.harivan.sh";
betternasDomain = "api.betternas.com";
diffkitDomain = "diffs.harivan.sh";
in
{
security.acme = {
@ -43,6 +44,15 @@ in
locations."/".proxyPass = "http://127.0.0.1:8222";
};
virtualHosts.${diffkitDomain} = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3200";
proxyWebsockets = true;
};
};
virtualHosts.${betternasDomain} = {
enableACME = true;
forceSSL = true;