This commit is contained in:
2025-07-24 12:37:15 +03:00
parent 6b0698de26
commit ef38dc4e59
6 changed files with 118 additions and 23 deletions
+34
View File
@@ -0,0 +1,34 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
services = {
nginx = {
enable = false;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
"localhost:10000" = {
forceSSL = false;
enableACME = false;
listen = [
{
addr = "100.64.0.0";
port = 10000;
}
{
addr = "192.168.1.20";
port = 10000;
}
];
};
};
};
};
}