Proxyforward traffic to fanny #53

Merged
kalipso merged 3 commits from vpnproxy into master 2025-01-16 13:17:51 +01:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit cc5aead929 - Show all commits

View File

@@ -93,6 +93,8 @@ let
};
}
] ++ defaultModules ++ modules;
inputsMod = inputs // { malobeo = self; };
in
{
louise = nixosSystem {
@@ -115,7 +117,7 @@ in
fanny = nixosSystem {
system = "x86_64-linux";
specialArgs.inputs = inputs;
specialArgs.inputs = inputsMod;
modules = defaultModules ++ [
self.nixosModules.malobeo.vpn
./fanny/configuration.nix

View File

@@ -15,6 +15,7 @@ in
../modules/autoupdate.nix
inputs.self.nixosModules.malobeo.initssh
inputs.self.nixosModules.malobeo.disko
inputs.self.nixosModules.malobeo.microvm
];
malobeo.autoUpdate = {
@@ -51,6 +52,10 @@ in
privateKeyFile = config.sops.secrets.wg_private.path;
};
services.malobeo.microvm.enableHostBridge = true;
services.malobeo.microvm.deployHosts = [ "infradocs" ];
services.nginx.virtualHosts."docs.malobeo.org" = {
locations."/".proxyPass = "http://10.0.0.11:9000";
};