Custom Header

How to Set Up Custom Header

  • 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).

How to Apply Custom Headers?

  • 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

Last updated