@cryptotaxi247 / infra / commits / ec2d984c

CORS hack for serving logs

Eelco Dolstra committed Jun 12, 2017 at 19:20 UTC ec2d984c5039e369c0fd1d6d4268657bb8e1a652
1 file changed +5
delft/hydra.nix
+5
@@ -54,6 +54,11 @@ in
54 nar_buffer_size = 12884901888
55
56 upload_logs_to_binary_cache = true
57 +
58 + # FIXME: Cloudfront messes up CORS
59 + #log_prefix = https://cache.nixos.org/
60 +
61 + log_prefix = https://nix-cache.s3.amazonaws.com/
62 '';
63
64 users.extraUsers.hydra.home = mkForce "/home/hydra";