I have recently upgraded to version 2.7.2. I was poking around the site and I noticed something with the pagination. My site sits behind a CDN (for other reasons beyond caching) and I noticed that the links that pagination is creating with autolinks is using the CDN's origin hostname. So instead of creating links to www.domain.com, it is creating links to origin-www.domain.com because this is what the CDN is hitting.

Is there a header I need to set? or is this a bug?

Here is my pagination code:

{{ if paginate:total_pages > 1 }}
    {{ paginate }}
        <p>Page {{ current_page }} of {{ total_pages }} ({{ total_results }} total entries)</p>
    {{ /paginate }}

    {{ paginate:auto_links }}
{{ /if }}