add reurn value section and add server aliases argument
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user