@cryptotaxi247 / infra-1 / commits / d439cc15

Get rid of a proxy cycle

Apache was making proxy connections to itself, which could cause it to hang when it hit the connection limit.

Eelco Dolstra committed Jul 25, 2013 at 23:23 UTC d439cc15d9b604d35a95a7012dcf4042fa1f7df0
2 files changed +7 -3
delft/delft-webserver.nix
+4
@@ -219,6 +219,7 @@ in
219 '';
220 }
221
222 + /*
223 { hostName = "hydra-test.nixos.org";
224 logFormat = ''"%h %l %u %t \"%r\" %>s %b %D"'';
225 extraConfig = ''
@@ -233,12 +234,14 @@ in
234 ProxyPassReverse / http://wendy:4000/
235 '';
236 }
237 + */
238
239 { hostName = "planet.strategoxt.org";
240 serverAliases = ["planet.stratego.org"];
241 documentRoot = "/home/karltk/public_html/planet";
242 }
243
244 + /*
245 { hostName = "mturk.nixos.org";
246 extraConfig = ''
247 <Proxy *>
@@ -264,6 +267,7 @@ in
267 Redirect permanent / http://nixos.org/mturk-sandbox/
268 '';
269 }
270 + */
271
272 ];
273 };
delft/wendy.nix
+3 -3
@@ -121,9 +121,9 @@ in
121 services.radvd.config =
122 ''
123 interface internal {
124 - AdvSendAdvert on;
125 - prefix 2001:610:685:1::/64 { };
126 - RDNSS 2001:610:685:1::1 { };
124 + AdvSendAdvert on;
125 + prefix 2001:610:685:1::/64 { };
126 + RDNSS 2001:610:685:1::1 { };
127 };
128 '';
129