Specify HTTP headers that CDN adds to requests to the origin
A viewer calls the CDN hostname, and the origin only sees the request Orange's CDN opens next. Request headers are the names and values added to that origin request, because the viewer request does not include them. Orange's CDN attaches the saved headers on every call to the origin.
The Value field accepts spaces between words but cannot begin or end with a space.
5
Add another header
To add more headers, click + Add header and repeat step 4.
6
Save changes
Click Save changes.
Confirm the header on the origin. Check the origin request logs, or configure the origin to return the received header value. The request from CDN servers includes each saved header name and value.
Add headers to the request Orange's CDN sends to the origin. The viewer request ends at the CDN hostname, so staticRequestHeaders stores the names and values the origin should receive. Orange's CDN adds that map to every origin request.
Set options.staticRequestHeaders. Both enabled and value are required. A request that omits either field returns HTTP 400. A resource accepts up to 50 headers.
Each header name can contain up to 255 characters: letters, numbers, dashes, and underscores. Each value can contain up to 512 characters. It must start with a letter, number, asterisk (*), or an opening brace. After the first character, the API accepts letters, numbers, spaces, and `~!@#%^&*()-_=+/|\";:?.,><{}[]. The API removes leading and trailing spaces.
Add headers to the request CDN servers send to the origin with the Terraform provider v2. When static_request_headers is enabled, CDN servers add each name and value on every origin request. A resource accepts up to 50 headers. Run terraform apply after editing options.
Request headers
Set enabled to true. value maps each header name to one header value. X-Request-Source is gcore cdn, with a space between the words. Set enabled to false and value to an empty map to stop adding headers. The empty map stores no headers.