@cryptotaxi247 / infra / commits / 616a5c30

* Combine a bunch of virtual hosts using aliases.

svn path=/configurations/trunk/tud/; revision=10755

Eelco Dolstra committed Feb 19, 2008 at 14:41 UTC 616a5c306d1c6551baab628c546324b91e58d68b
1 file changed +2 -24
main.nix
+2 -24
@@ -270,22 +270,7 @@ rec {
270
271 # !!! hacky
272 { hostName = "strategoxt.org";
273 - extraSubservices = [
274 - { function = import /etc/nixos/nixos/upstart-jobs/apache-httpd/twiki.nix;
275 - config = { startWeb = "Stratego/WebHome"; };
276 - }
277 - ];
278 - }
279 -
280 - { hostName = "www.strategoxt.org";
281 - extraSubservices = [
282 - { function = import /etc/nixos/nixos/upstart-jobs/apache-httpd/twiki.nix;
283 - config = { startWeb = "Stratego/WebHome"; };
284 - }
285 - ];
286 - }
287 -
288 - { hostName = "www.stratego-language.org";
273 + serverAliases = ["www.strategoxt.org" "www.stratego-language.org"];
274 extraSubservices = [
275 { function = import /etc/nixos/nixos/upstart-jobs/apache-httpd/twiki.nix;
276 config = { startWeb = "Stratego/WebHome"; };
@@ -294,14 +279,7 @@ rec {
279 }
280
281 { hostName = "program-transformation.org";
297 - extraSubservices = [
298 - { function = import /etc/nixos/nixos/upstart-jobs/apache-httpd/twiki.nix;
299 - config = { startWeb = "Transform/WebHome"; };
300 - }
301 - ];
302 - }
303 -
304 - { hostName = "www.program-transformation.org";
282 + serverAliases = ["www.program-transformation.org"];
283 extraSubservices = [
284 { function = import /etc/nixos/nixos/upstart-jobs/apache-httpd/twiki.nix;
285 config = { startWeb = "Transform/WebHome"; };