@cryptotaxi247 / infra-1 / commits / b1fd9e0b

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

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

Eelco Dolstra committed Dec 3, 2009 at 14:33 UTC b1fd9e0ba61f8d7232f4fa3b5e0d0230cff53375
1 file changed +17
cartman.nix
+17
@@ -148,6 +148,7 @@ rec {
148 enableTCPIP = true;
149 dataDir = "/data/postgresql";
150 authentication = ''
151 + local all mediawiki ident mediawiki-users
152 local all all ident sameuser
153 host all all 127.0.0.1/32 md5
154 host all all ::1/128 md5
@@ -364,6 +365,22 @@ rec {
365 '';
366 }
367
368 + { hostName = "wiki.nixos.org";
369 + extraConfig = ''
370 + RedirectMatch ^/$ /wiki
371 + '';
372 + extraSubservices = [
373 + { serviceType = "mediawiki";
374 + siteName = "Nix Wiki";
375 + logo = "http://nixos.org/logo/nix-wiki.png";
376 + extraConfig =
377 + ''
378 + $wgEmailConfirmToEdit = true;
379 + '';
380 + }
381 + ];
382 + }
383 +
384 { hostName = "planet.strategoxt.org";
385 serverAliases = ["planet.stratego.org"];
386 documentRoot = "/home/karltk/public_html/planet";