move vaultwarden and radicale to home-hypervisor

This commit is contained in:
Dmitriy Kholkin 2024-11-20 03:50:25 +03:00
parent 78528c258b
commit a1565b60be
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
3 changed files with 29 additions and 8 deletions

View File

@ -40,12 +40,12 @@ in {
# customProfiles.onlyoffice # customProfiles.onlyoffice
# customProfiles.openbooks # customProfiles.openbooks
# customProfiles.outline # customProfiles.outline
# customProfiles.radicale customProfiles.radicale
# customProfiles.spdf # customProfiles.spdf
# customProfiles.synapse # customProfiles.synapse
customProfiles.tinyproxy customProfiles.tinyproxy
# customProfiles.vault # customProfiles.vault
# customProfiles.vaultwarden customProfiles.vaultwarden
# customProfiles.webhooks # customProfiles.webhooks
# customProfiles.wiki # customProfiles.wiki
# customProfiles.yandex-db # customProfiles.yandex-db

View File

@ -61,16 +61,37 @@
'' + proxySettings; '' + proxySettings;
}; };
} // default; } // default;
"ataraxiadev.com" = {
extraConfig = ''
return 301 https://code.ataraxiadev.com$request_uri;
'';
} // default;
"cal.ataraxiadev.com" = {
locations."/" = {
proxyPass = "http://127.0.0.1:5232";
extraConfig = proxySettings;
};
} // default;
"code.ataraxiadev.com" = { "code.ataraxiadev.com" = {
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:6000"; proxyPass = "http://127.0.0.1:6000";
extraConfig = proxySettings; extraConfig = proxySettings;
}; };
} // default; } // default;
"ataraxiadev.com" = { "vw.ataraxiadev.com" = {
extraConfig = '' locations."/" = {
return 301 https://code.ataraxiadev.com$request_uri; proxyPass = "http://127.0.0.1:8812";
''; extraConfig = proxySettings;
};
locations."/notifications/hub" = {
proxyPass = "http://127.0.0.1:3012";
proxyWebsockets = true;
extraConfig = proxySettings;
};
locations."/notifications/hub/negotiate" = {
proxyPass = "http://127.0.0.1:8812";
extraConfig = proxySettings;
};
} // default; } // default;
}; };
}; };

View File

@ -23,8 +23,8 @@
customProfiles.authentik customProfiles.authentik
customProfiles.hoyolab customProfiles.hoyolab
customProfiles.radicale # customProfiles.radicale
customProfiles.vaultwarden # customProfiles.vaultwarden
(import customProfiles.headscale { (import customProfiles.headscale {
inherit (import ./dns-mapping.nix) headscale-list; inherit (import ./dns-mapping.nix) headscale-list;
}) })