refactor(nginx): add proxies option
This commit is contained in:
parent
a157a41cca
commit
f1324f15ed
2 changed files with 44 additions and 25 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue