Reverse proxy a subdirectory from non-HubSpot to HubSpot getting 403 or 502 http error

Hi

We want to use ourdomain.com/blog to show content from HubSpot hosted site (https://mdq-144181444.hubspotpagebuilder.eu), but we’re getting http 502 error. We use the configuration from the manual (https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support). &)

If I comment out the lines

proxy_ssl_name maidoq.com;
proxy_ssl_server_name on;

and replace with

proxy_ssl_verify off

then we get an HTTP 403 error.

Thanks

Hi, @viig :waving_hand: Thanks for your question. I hope you make progress. If not, one place to check — make sure `proxy_ssl_name` is set to the correct HubSpot domain you are proxying to, not your domain.

Otherwise, we’ll leave this here to see if any of our community members have any insight for you.

Best,

Jaycee

Thanks a lot for reply!

No, I have a problem yet). Could you explain, which domain should I set in `ssl_proxy_name`? For examle our domain is maidoq.com and we want our blog to be available at maidoq.com/blog. Which domain should I set in `ssl_proxy_name`? Our HubID is 144181444 and proxy_pass `https://144181444.sites-proxy.hscoscdn40.net;`

Thanks a lot!