feat(nix): add nginx reverse proxy to web-servers module

Adds nginx reverse proxy functionality with SSL support.
This commit is contained in:
Mohammad Rafiq 2025-07-09 02:59:31 +08:00
parent 9657329282
commit 5f42498a39
No known key found for this signature in database
2 changed files with 112 additions and 0 deletions

View file

@ -40,6 +40,19 @@
};
web-servers = {
enableSSL = true;
nginx = {
enable = true;
proxies = [
{
source = "aenyrathia.wiki";
target = "http://helios:5896";
}
{
source = "il.bwfiq.com";
target = "http://helios:2283";
}
];
};
};
databases = {
mongodb.enable = true;