mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 03:00:32 +00:00
feat" diffkit self host"
This commit is contained in:
parent
d352c45733
commit
c74ac67836
5 changed files with 86 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue