feat(nixosModules/server): add nginx reverse proxy

This commit is contained in:
Mohammad Rafiq 2025-05-29 17:02:04 +08:00
parent 8e12382f60
commit 4c6097903f
No known key found for this signature in database
2 changed files with 38 additions and 1 deletions

View file

@ -36,6 +36,19 @@
enableSunshine = true;
};
server.mountHelios = true;
server = {
mountHelios = true;
reverse-proxy = {
enable = true;
type = "nginx";
proxies = [
{
source = "chat.bwfiq.com";
target = "";
}
];
};
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}