Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "fastly_service_v1" "test1" {
- name = "test1"
- domain {
- name = "test1forjames.example.website"
- }
- backend {
- address = "127.0.0.1"
- name = "Test"
- port = "80"
- }
- header {
- destination = "http.x-amz-request-id"
- type = "cache"
- action = "delete"
- name = "remove x-amz-request-id"
- }
- gzip {
- name = "Gzip Policy expect JSON (change it when Gzip ESI is enabled)"
- extensions = ["ico", "svg", "otf", "eot", "js", "html", "ttf", "css"]
- 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"]
- }
- force_destroy = true
- vcl {
- name = "dev-example-api_vcl"
- content = "${file("dev-example-api.vcl")}"
- main = true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement