feat(nixosModules/server): add nginx reverse proxy
This commit is contained in:
parent
8e12382f60
commit
4c6097903f
2 changed files with 38 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue