Set custom HTTP Headers for CDN servers to add to responses. If the same header is configured on your server CDN servers will replace its value.
Important! You can add up to 50 Response Headers.
Configure Header
Go to the CDN Resources tab -> Settings -> Show Advanced Settings -> HTTP Headers -> Add Response Headers.
The Header name field can contain letters (a-z), numbers (0-9), dashes (-) and underscores (_).
The Value field can contain letters (a-z), numbers (0-9), spaces and the following special characters: `~!@#%^&*()-_=+ /|";:?.><{}[].
The Value field limitations:
- special characters \$' are not allowed
- the field can't begin with a special character
- the field can't contain only special characters.
Check Header
Purge the CDN Resource cache and then run cURL command in the console on your computer or use online services:
curl -I http://cdn.site.com/images/1.jpg
HTTP/1.1 200 OK
Server: nginx/1.11.4
Date: Wed, 05 Apr 2017 19:27:14 GMT
Content-Type: image/jpeg
Content-Length: 62890
Connection: keep-alive
Last-Modified: Mon, 03 Oct 2016 22:21:05 GMT
ETag: "f5aa-53dfd5c25d421"
FILE: Image
X-Provider: G-CORE
Cache: HIT
X-ID: m9-up-e240
Accept-Ranges: bytes
If there is the right header in the answer, you have configured all successfully.