feat(nixosModules/server): add nginx
This commit is contained in:
parent
d478e9009f
commit
5ba9667f4e
4 changed files with 28 additions and 34 deletions
|
@ -25,6 +25,7 @@
|
|||
databases.mongodb.enable = true;
|
||||
databases.mysql.enable = true;
|
||||
librechat.enable = true;
|
||||
web-servers.nginx.enable = true;
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
|
@ -42,16 +42,6 @@
|
|||
|
||||
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