# Setting up reverse proxy breaks calls-to-action links

**URL:** <https://community.hubspot.com/t/setting-up-reverse-proxy-breaks-calls-to-action-links/64510>\
**Category:** APIs & Integrations\
**Created:** [September 6, 2022, 11:47am UTC](https://community.hubspot.com/t/setting-up-reverse-proxy-breaks-calls-to-action-links/64510 "2022-09-06T11:47:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JNaughton](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@JNaughton](https://community.hubspot.com/u/JNaughton)\
**Post date:** [September 6, 2022, 11:47am UTC](https://community.hubspot.com/t/setting-up-reverse-proxy-breaks-calls-to-action-links/64510/1 "2022-09-06T11:47:07Z")

</div>

Hi there,

I am in the process of setting up CloudFront to act as a reverse proxy so we can redirect users based on their IP geolocation .

I am following this article: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support)

This seems to work except that all the calls-to-action buttons break. When clicking on one it opens a new tab with the following error message:

{“status”:“error”,“message”:“No portal supplied for [XXXXXX.sites-proxy.hscoscdn10.net](http://3883312.sites-proxy.hscoscdn10.net/)”,“correlationId”:“fd268dcd-8223-4c5b-8d1b-ec8667b32e03”}

Where XXXXXX=HubID

Not sure what this means or why simple links are breaking? The HubSpot CTA don’t seem to be direct links, I assume this is because they are capturing metrics? Any assistance here would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 7, 2022, 8:18pm UTC](https://community.hubspot.com/t/setting-up-reverse-proxy-breaks-calls-to-action-links/64510/2 "2022-09-07T20:18:43Z")

</div>

Hi, @JNaughton 👋 Welcome to the community! I want to make sure you’ve seen this thread — [Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)](https://community.hubspot.com/t5/CMS-Development/Lessons-Learned-from-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS/m-p/685578#M30179). It continues to have an active discussion.

Hey, @LMeert @coldrickjack @nikodev, do you have any experience with reverse proxies and HubSpot CTAs?

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![JNaughton](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@JNaughton](https://community.hubspot.com/u/JNaughton)\
**Post date:** [September 17, 2022, 11:10pm UTC](https://community.hubspot.com/t/setting-up-reverse-proxy-breaks-calls-to-action-links/64510/3 "2022-09-17T23:10:55Z")

</div>

Hi Jaycee

Yes I was referncing that article while trying to set it up but it doesn’t specifically mention this problem

Cheers

Jake

---

<div class="post-metadata">

**Author:** ![JNaughton](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@JNaughton](https://community.hubspot.com/u/JNaughton)\
**Post date:** [October 22, 2022, 7:26am UTC](https://community.hubspot.com/t/setting-up-reverse-proxy-breaks-calls-to-action-links/64510/4 "2022-10-22T07:26:34Z")

</div>

I ended up resolving this issue.

The problem ended up being it wasn’t forwarding all query strings by default in the cache policy. Once I fixed this up, all the CTA started working.
