Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. resource "fastly_service_v1" "test1" {
  2.   name = "test1"
  3.  
  4.   domain {
  5.     name = "test1forjames.example.website"
  6.   }
  7.  
  8.   backend {
  9.     address           = "127.0.0.1"
  10.     name              = "Test"
  11.     port              = "80"
  12.   }
  13.  
  14.   header {
  15.     destination = "http.x-amz-request-id"
  16.     type        = "cache"
  17.     action      = "delete"
  18.     name        = "remove x-amz-request-id"
  19.   }
  20.  
  21.   gzip {
  22.     name          = "Gzip Policy expect JSON (change it when Gzip ESI is enabled)"
  23.     extensions    = ["ico", "svg", "otf", "eot", "js", "html", "ttf", "css"]
  24.     content_types = ["application/x-font-opentype", "text/xml", "text/javascript", "application/x-font-ttf", "font/otf", "font/eot", "image/svg+xml", "text/plain", "font/opentype", "application/vnd.ms-fontobject", "image/vnd.microsoft.icon", "application/xml", "application/x-javascript", "application/javascript", "text/css", "text/html", "application/x-font-truetype"]
  25.   }
  26.  
  27.   force_destroy = true
  28.  
  29.   vcl {
  30.     name    = "dev-example-api_vcl"
  31.     content = "${file("dev-example-api.vcl")}"
  32.     main    = true
  33.   }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement