Contact Us

support@onapp.com

U.S: (+1) 888-876-8666

UK: +44 (0) 203-318-5364

Fixed user agent for CDN PoPs

Answered

Comments

1 comment

  • Avatar
    Ben Chew

    Hi Erik,

    Thank you for your request, Erik. This is Ben from the OnApp team.

    Yes, this is possible by using HTTP caching rule feature. You my create a rule with the following:

    1. Set the rule condition with "default"
    2. Select the action: "Set Request Header"
    3. Fill in the header value with "User-Agent"
    4. Fill in the value that you would like to overwrite with the "Value"

    With above configuration, every request's User-Agent value will be overwritten when it forwarded to the Origin server. Alternatively, you could create a new HTTP header and value with the above example to whitelist the edge's connection.

    More information regarding HTTP caching rules can be found at https://docs.onapp.com/cdn/latest/administration-guide/cdn-resources/http-caching-rules/the-list-of-actions

    Thank you!

     

     

Please sign in to leave a comment.