{
  "resource": {
    "domain": "cdn.example.com",
    "origin_group": "web",
    "protocol": "https"
  },
  "origins": [
    { "host": "origin.example.com", "tls": true, "weight": 100, "backup": false }
  ],
  "cache": {
    "enabled": true,
    "default_ttl": "1h",
    "rules": [
      { "path": "/assets/*", "ttl": "7d" },
      { "path": "/files/*",  "ttl": "1d" },
      { "path": "/api/*",    "ttl": "0"  }
    ],
    "query_string": "ignore"
  },
  "compression": { "brotli": true, "gzip": true, "min_length": 1024 },
  "headers": {
    "add": { "X-Cdn": "cdnfile" },
    "cors": { "allow_origin": "*", "allow_methods": ["GET", "HEAD", "OPTIONS"] }
  },
  "tls": { "min_version": "1.2", "hsts": true, "http2": true }
}
