add reurn value section and add server aliases argument

This commit is contained in:
2021-11-13 18:00:10 +01:00
parent 171f8e6ed1
commit 263a49d48f
3 changed files with 50 additions and 13 deletions

View File

@@ -12,6 +12,7 @@
nginxEnableACME ? true,
nginxForceSSL ? true,
nginxIsDefault ? true,
nginxServerAliases ? []
gitUrl ? "https://github.com/mailcow/mailcow-dockerized.git",
gitRef ? "master"
}:
@@ -120,6 +121,7 @@ in
default = nginxIsDefault;
locations."/".proxyPass = "http://localhost:${httpPort}";
serverName = "${ptr}";
serverAliases = nginxServerAliases;
};
};
};