Disable redirect to https://hydra.nixos.org for now
Eelco Dolstra committed
Oct 16, 2013 at 10:17 UTC
d5a34e16c34d6cff74ac3b811e0f12833a672dd9
1 file changed
+33
-3
delft/delft-webserver.nix
+33
-3
@@ -95,7 +95,7 @@ in
95
globalRedirect = "http://nixos.org/";
96
}
97
98
- { hostName = "wendy.ewi.tudelft.nl";
98
+ { hostName = "buildfarm.st.ewi.tudelft.nl";
99
documentRoot = cleanSource ./webroot;
100
enableUserDir = true;
101
extraSubservices = [
@@ -192,9 +192,39 @@ in
192
];
193
}
194
195
+/*
196
{ hostName = "hydra.nixos.org";
197
globalRedirect = "https://hydra.nixos.org/";
198
}
199
+*/
200
+
201
+ { hostName = "hydra.nixos.org";
202
+
203
+ logFormat = ''"%h %l %u %t \"%r\" %>s %b %D"'';
204
+ extraConfig = ''
205
+ TimeOut 900
206
+
207
+ <Proxy *>
208
+ Order deny,allow
209
+ Allow from all
210
+ </Proxy>
211
+
212
+ ProxyRequests Off
213
+ ProxyPreserveHost On
214
+ ProxyPass / http://lucifer:3000/ retry=5 disablereuse=on
215
+ ProxyPassReverse / http://lucifer:3000/
216
+
217
+ <Location />
218
+ SetOutputFilter DEFLATE
219
+ BrowserMatch ^Mozilla/4\.0[678] no-gzip\
220
+ BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
221
+ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
222
+ SetEnvIfNoCase Request_URI /api/ no-gzip dont-vary
223
+ SetEnvIfNoCase Request_URI /download/ no-gzip dont-vary
224
+ </Location>
225
+
226
+ '';
227
+ }
228
229
{ hostName = "hydra.nixos.org";
230
@@ -244,8 +274,8 @@ in
274
275
ProxyRequests Off
276
ProxyPreserveHost On
247
- ProxyPass / http://lucifer:4000/ retry=5 disablereuse=off
248
- ProxyPassReverse / http://lucifer:4000/
277
+ ProxyPass / http://wendy:4000/ retry=5 disablereuse=off
278
+ ProxyPassReverse / http://wendy:4000/
279
'';
280
}
281