refactor(nginx): add proxies option

This commit is contained in:
Mohammad Rafiq 2025-06-05 16:23:32 +08:00
parent a157a41cca
commit f1324f15ed
No known key found for this signature in database
2 changed files with 44 additions and 25 deletions

View file

@ -26,6 +26,16 @@
databases.mysql.enable = true;
web-apps.librechat.enable = true;
web-servers.nginx.enable = true;
web-servers.nginx.proxies = [
{
source = "chat.bwfiq.com";
target = "http://helios:3080";
}
{
source = "il.bwfiq.com";
target = "http://helios:2283";
}
];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";