@cryptotaxi247 / infra / commits / e3e2c504

Revive config for http://nixos.org which was accidentally deleted

This causes an infinite redirect loop which crashed (!) Apache.

Eelco Dolstra committed May 9, 2017 at 16:56 UTC e3e2c504b2d29fcbd7d9542d25246d5218ed02f1
1 file changed +7
nixos-org/webserver.nix
+7
@@ -118,6 +118,13 @@ in
118 globalRedirect = "http://nixos.org/";
119 }
120
121 + (nixosVHostConfig // {
122 + extraConfig = nixosVHostConfig.extraConfig +
123 + ''
124 + Redirect /wiki https://nixos.org/nixos/wiki.html
125 + '';
126 + })
127 +
128 (nixosVHostConfig // {
129 enableSSL = true;
130 sslServerKey = "${acmeKeyDir}/key.pem";