CMS Development

wrymax
Member

[Reverse Proxy] Page details are always 404 not found

Hi there,

 

I have a gateway using a domain, and want to proxy the <domain.com>/landing/* to my hubspot-hosted pages. I'm referring to this post: https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support

I'm using CloudFront to proxy request to <my-id>.sites-proxy.hscoscdn20.net, with the HTTP headers mentioned in the post

 

I can get diagnostic info: 

Current time: 2020-08-03T05:25:49.080Z
User-Agent: Amazon CloudFront
Accept-Language: <not present>
Cookie: <not present>
Protocol: http
X-HubSpot-Client-IP: <not present>
True-Client-IP: 130.176.75.132
X-Real-IP: 130.176.75.132
X-Forwarded-For: 119.161.100.98,130.176.75.132, 172.68.65.54, 130.176.75.132
X-HubSpot-Trust-Forwarded-For: true
Effective IP: 119.161.100.98
Effective IP Source: X-Forwarded-For
IP-Determined Country: sg
IP-Determined Region: 
IP-Determined City: 
IP-Determined Organization: 
Host: xxxxxx.sites-proxy.hscoscdn20.net
X-Forwarded-Host: xxxxxx.sites-proxy.hscoscdn20.net 

 

But all detailed pages using other URLs will return this 404 error page:

Jietu20200803-140054.jpg

 

Not sure what is the problem? Thanks!  

1 Reply 1
sharonlicari
Community Manager
Community Manager

[Reverse Proxy] Page details are always 404 not found

Hey @wrymax 

 

Are you still having this issue? If so, could you please share your URL?

 

Thanks

Sharon


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes