Custom Header
Last updated
Last updated
Navigate to Sites -> Sites Settings -> Module -> Custom Header
Click Add Custom Header -> Enter a Custom Configuration Set Name
Enter the configuration set and select Add Custom Header
Configure the following settings, using these reference values:
Direction Control: Origin
URL Regular Expression: .*
Key: The header name desired by the customer
Value: $remote_addr
After configuration, when the CDN node fetches content from the origin, the Request Header will include test_header: 1.2.3.4 (where 1.2.3.4 is the client's IP address).
Go to Sites -> Sites Settings -> Domains
Within Domains, click on the domain you wish to configure
Edit Domain -> Advanced Settings -> Custom Header -> Click to Apply