@cryptotaxi247 / infra-1 / commits / 3301b0ce

tf: cache: partially roll back #415

Due to https://github.com/nix-community/nix-index/issues/249

Pierre Bourdon committed Apr 17, 2024 at 14:44 UTC 3301b0ce71e524de7f6b1757e43470fbaa531da9
1 file changed +5 -4
terraform/cache.tf
+5 -4
@@ -129,10 +129,11 @@ resource "fastly_service_vcl" "cache" {
129 weight = 100
130 }
131
132 - request_setting {
133 - name = "Redirect HTTP to HTTPS"
134 - force_ssl = true
135 - }
132 + # Temporarily disabled due to nix-index bugs: see https://github.com/nix-community/nix-index/issues/249
133 + #request_setting {
134 + # name = "Redirect HTTP to HTTPS"
135 + # force_ssl = true
136 + #}
137
138 condition {
139 name = "is-404"