Disable caching of the binary cache which we no longer have
Eelco Dolstra committed
Nov 15, 2016 at 14:58 UTC
bd76ed4b21ed330e07c0d2bdfc60a7f36b72c09a
1 file changed
+8
-6
delft/hydra-proxy.nix
+8
-6
@@ -21,10 +21,10 @@ let
21
ProxyPass / http://127.0.0.1:3000/ retry=5 disablereuse=on
22
ProxyPassReverse / http://127.0.0.1:3000/
23
24
- CacheEnable disk /
25
- CacheRoot ${hydraCacheDir}
26
- CacheMaxFileSize 64000000
27
- CacheIgnoreHeaders Set-Cookie
24
+ #CacheEnable disk /
25
+ #CacheRoot ${hydraCacheDir}
26
+ #CacheMaxFileSize 64000000
27
+ #CacheIgnoreHeaders Set-Cookie
28
29
<Location />
30
SetOutputFilter DEFLATE
@@ -75,6 +75,7 @@ in
75
76
};
77
78
+ /*
79
system.activationScripts.createHydraCache =
80
''
81
mkdir -p ${hydraCacheDir}
@@ -85,9 +86,10 @@ in
86
{ description = "Clean httpd Cache";
87
serviceConfig.ExecStart =
88
"${config.services.httpd.package}/bin/htcacheclean " +
88
- "-v -t -l 32G -p /var/cache/hydra-binary-cache";
89
- startAt = "Sat 05:45";
89
+ "-v -t -l 4G -p /var/cache/hydra-binary-cache";
90
+ startAt = "05:45";
91
};
92
+ */
93
94
# Let's Encrypt configuration.
95
security.acme.certs."hydra.nixos.org" =