<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!) in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/687564#M30232</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/439804"&gt;@PTrojanowski&lt;/a&gt;&amp;nbsp;- correct - reverse proxy setup is only available as part of a HubSpot CMS Enterprise tier.&lt;/P&gt;
&lt;P&gt;There are obviously some other great features part of that product tier as well (one of the most powerful is access to CMS serverless functions, allowing for dynamic/data driven pages/light weight web apps).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're wanting to move forward with this project but not sure on your product tiers, shoot me a DM with your HubSpot Hub ID and I can connect with you, and loop in your Customer Success Manager or account executive and we can chat more about if this is the right fit to move forward with.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 13:36:02 GMT</pubDate>
    <dc:creator>robertainslie</dc:creator>
    <dc:date>2022-08-31T13:36:02Z</dc:date>
    <item>
      <title>Tutorial: Setting up a Reverse Proxy With HubSpot CMS (with sample nginx &amp; Cloudfront configs !)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/435961#M22997</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Note: The purpose of this post is to share lessons learned about setting up a reverse proxy with HubSpot CMS Enterprise. If you have experience, we invite you to share on this thread!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HubSpot CMS Enterprise allows for content to be served through a reverse proxy. This implementation requires significant technical know-how and while possible, is not a recommended standard implementation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;The core documentation for the HubSpot side implementation is available here&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;While not a recommended setup due to the trade-offs and technical expertise required, there are some use cases where setting up a reverse proxy makes sense and is technically supported by HubSpot CMS Enterprise. The primary use case for implementing a reverse proxy with the HubSpot CMS acting as a content source is when a website serves a web application from the same domain as the marketing website. For example, if you offer a web application at &lt;/SPAN&gt;&lt;A href="http://www.domain.com/login" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;www.domain.com/login&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; and also host a marketing content site at &lt;/SPAN&gt;&lt;A href="http://www.domain.com" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;www.domain.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;, a reverse proxy can route traffic to your web application servers on certain subdirectory paths, and to HubSpot CMS on other subdirectory paths.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.hubspot.com/services/professional/technical-consulting" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;HubSpot’s Professional Service’s Technical Consultants&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; have aided customers in this implementation and hope to pass along a few lessons, including a sample nginx server configuration sample.&lt;EM&gt; (Note: HubSpot Services teams cannot provide recommendations on the ‘external to HubSpot’ aspects of this setup and we are sharing this information to document this publicly for others to learn from. Usage and implementation is your responsibility)&lt;/EM&gt;. If you do need guidance on the HubSpot setup, we can work on a project with you -&amp;nbsp; just reach out to your Customer Success Manager or Sales representative.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Lesson One:&lt;/STRONG&gt; The domain in your HubSpot Domain Manager should match the domain being requested/served through your reverse proxy. &lt;BR /&gt;&lt;BR /&gt;However, you do not need to directly connect / update your DNS settings to connect this domain to HubSpot’s servers. Instead, when a domain is securely served on an existing content host, HubSpot provides a TXT and CNAME record to add to your DNS that&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://knowledge.hubspot.com/domains-and-urls/ssl-and-domain-security-in-hubspot" target="_blank" rel="noopener"&gt;verifies domain ownership and pre-provisions an SSL certificate in the background&lt;/A&gt;&lt;SPAN&gt;. When implementing your reverse proxy, remember that the origin connection is a HubSpot CNAME and the &lt;EM&gt;Host&lt;/EM&gt; and &lt;EM&gt;X-HS-Public-Host&lt;/EM&gt; headers match the "added to HubSpot but not directly connected" HubSpot domain where content will be served from. The Host domain is added to HubSpot Domains so that the HubSpot systems are ‘aware’ of the domain, but that domain is never directly pointed to HubSpot in your DNS zone file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Lesson Two:&lt;/STRONG&gt; There are multiple ways to setup a reverse proxy server. Regardless of the approach, the implementation should always be in a load balanced environment so that traffic from your proxy rotates requests to the HubSpot CNAME origin from multiple IP addresses. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The two primary ways seen in our experience are using a managed CDN (like Amazon Web Services Cloudfront) or with a &lt;/SPAN&gt;&lt;A href="https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/" target="_blank" rel="noopener"&gt;custom nginx webserver&lt;/A&gt;&lt;SPAN&gt; deployed on load balanced cloud infrastructure (such as Amazon Web Services EC2/ELB or Microsoft Azure). (Note: Due to HubSpot utilizing Cloudflare as it’s CDN, Cloudflare cannot be used in this setup).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Lesson Three:&lt;/STRONG&gt; When working with nginx, there are several headers and settings required to route traffic in an expected fashion. Below is a sample nginx location configuration file. Note: this is not guaranteed to work, and is a sample starting point. This is also a snippet of the entire configuration, highlighting location routing settings.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Due to the SNI (Server Name Indication) connection process that establishes a secure connection between your proxy and HubSpot’s servers, the proxy connection and content host domain are different (one is a HubSpot provided CNAME and one is the domain the content should be served from and is added to the HubSpot Domain Manager). To enable this in your nginx proxy, ensure that you include two important settings. These instruct nginx to send the server domain name with the SNI SSL connection handshake since the origin domain is different from the Host.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;proxy_ssl_name &lt;/SPAN&gt;&lt;A href="http://www.example.com" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;www.example.com&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proxy_ssl_server_name on;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here are two location paths that set each of the required and recommended settings in an nginx configuration file. Inspect each included value and what needs to be customized for your implementation. We encourage you to review the nginx documentation for settings such as &lt;/SPAN&gt;&lt;A href="https://docs.nginx.com/nginx/admin-guide/security-controls/securing-http-traffic-upstream/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;securing upstream traffic&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;A href="http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ssl_server_name" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;proxy_ssl&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-protocol/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;$proxy_protocol_addr&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;location ~ ^(/|/some-other-path) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header Host $http_host;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header X-HS-Public-Host www.example.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_pass_request_headers on;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header X-HubSpot-Trust-Forwarded-For true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_pass&lt;/SPAN&gt;&lt;A href="https://2xxx93.sites-proxy.hscoscdn40.net/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt; https://2XX93.sites-proxy.hscoscdnXX.net&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_ssl_name www.example.com;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_ssl_server_name on;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-Real-IP $proxy_protocol_addr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-Forwarded-Proto&amp;nbsp; $scheme;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-Forwarded-For $proxy_add_x_forwarded_for;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-HubSpot-Client-IP $proxy_protocol_addr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;location ~ ^(/hs|/_hcms|/hubfs|/hs-fs) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header Host $http_host;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header X-HS-Public-Host www.example.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_pass_request_headers on;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header X-HubSpot-Trust-Forwarded-For true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_pass&lt;/SPAN&gt;&lt;A href="https://2xxx93.sites-proxy.hscoscdn40.net/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt; https://2XX93.sites-proxy.hscoscdnXX.net&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_ssl_name www.example.com;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_ssl_server_name on;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-Real-IP&amp;nbsp; $proxy_protocol_addr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-Forwarded-Proto&amp;nbsp; $scheme;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-Forwarded-For&amp;nbsp; &amp;nbsp; $proxy_add_x_forwarded_for;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proxy_set_header &amp;nbsp; X-HubSpot-Client-IP $proxy_protocol_addr;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;We hope this is helpful for any HubSpot customers who are interested in setting up a reverse proxy with HubSpot CMS. HubSpot Technical Consulting services can help provide guidance on the HubSpot components of this setup. If interested, please reach out to your main HubSpot point of contact or &lt;/SPAN&gt;&lt;A href="https://www.hubspot.com/services/professional/technical-consulting" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;reach out via the form on this page&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have other advice or lessons learned with a reverse proxy setup with HubSpot, please share them for the community to benefit from!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 01:58:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/435961#M22997</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2023-11-27T01:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/515729#M25726</link>
      <description>&lt;P&gt;Relating to Lesson 1 - I wanted to show some images around what this actually looks like in HubSpot and a CDN acting as a proxy. The most important aspect of this - &lt;STRONG&gt;your active and live domain that users will see is also the domain you add to HubSpot but never ACTUALLY connect in your DNS. Instead, your proxy performs a request to the provided CNAME.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I've set up a proxy for a domain - tc.robertpainslie.com that points to an AWS Cloudfront CDN distribution. Depending on the URL path, it either proxies to an AWS S3 bucket or it proxies to HubSpot CMS.&lt;BR /&gt;So,&lt;A href="http:// https://tc.robertpainslie.com/" target="_blank" rel="noopener"&gt;tc.robertpainslie.com/&lt;/A&gt;&amp;nbsp; shows a very simple web page originating from an S3 bucket and &lt;A href="https://tc.robertpainslie.com/proxy-page" target="_blank" rel="noopener"&gt;tc.robertpainslie.com/proxy-page&lt;/A&gt; shows a page served from HubSpot CMS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The pathway is:&lt;BR /&gt;Internet &amp;gt; tc.roberpainslie.com/proxy-page &amp;gt; AWS Cloudfront &amp;gt; HubSpot CMS&lt;BR /&gt;OR&lt;BR /&gt;Internet &amp;gt; tc.roberpainslie.com/ &amp;gt; AWS Cloudfront &amp;gt; AWS S3&lt;/P&gt;
&lt;P&gt;1. In Cloudfront, I have an Origin that points to the proper HubSpot CNAME as directed by the &lt;A href="https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support" target="_blank" rel="noopener"&gt;HubSpot reverse proxy documentation&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-10-25 at 5.50.03 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/52673i1BB485DBC746E8E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-10-25 at 5.50.03 PM.png" alt="Screen Shot 2021-10-25 at 5.50.03 PM.png" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;BR /&gt;Then, there are Cloudfront behaviors that dictate which Origin is used for which paths:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_2-1635199582435.png" style="width: 640px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/52677i439D24E6264AC77C/image-dimensions/640x299?v=v2" width="640" height="299" role="button" title="robertainslie_2-1635199582435.png" alt="robertainslie_2-1635199582435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In HubSpot, I have the domain tc.robertpainslie.com added to my Domain Manager - &lt;EM&gt;&lt;STRONG&gt;this is the exact domain I want to proxy!&lt;/STRONG&gt;&lt;/EM&gt; &lt;STRONG&gt;DO NOT create a new subdomain that is added to HubSpot&lt;/STRONG&gt; - you want the initiating domain to be the exact same that you add to HubSpot.&amp;nbsp;When connecting, the domain should already be live and hosting content over a secure connection. When this happens, HubSpot will detect the existing secure connection and ask you to pre-provision SSL - take the CNAME and TXT record and verify in your DNS. HubSpot provisions an SSL cert for the 'tc.robertpainslie.com' domain in the background even though this domain will never ACTUALLY be connected to HubSpot (because it will remain connected to your proxy).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_0-1635198910273.png" style="width: 620px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/52674iEEEF2B0DDEE83CF3/image-dimensions/620x48?v=v2" width="620" height="48" role="button" title="robertainslie_0-1635198910273.png" alt="robertainslie_0-1635198910273.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You'll see in the above screenshot that it says 'Connected via reverse proxy' - this will eventually show up (after successful requests are proxied and may take a few weeks to appear). But, it will initially show 'Not connected'. To proceed with the process, for the specific domain:&lt;BR /&gt;- Edit &amp;gt; under, 'Edit publishing status' &amp;gt; Mark as 'Ready for publishing'&amp;nbsp;&lt;BR /&gt;- Under Domain Security Settings &amp;gt; 'Require HTTPS'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_0-1635254512483.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/52693iBFC83013E55D08FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_0-1635254512483.png" alt="robertainslie_0-1635254512483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_1-1635254533884.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/52694i9B20DEE17F2A509C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_1-1635254533884.png" alt="robertainslie_1-1635254533884.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Now, go to the HubSpot CMS page publisher and create and publish a page on the domain - (in my case, tc.robertpainslie.com/proxy-page).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-10-25 at 6.03.25 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/52676i8701DEB56034CCE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-10-25 at 6.03.25 PM.png" alt="Screen Shot 2021-10-25 at 6.03.25 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;To get traffic to this page, a request routes to your proxy, and then you forward the request to the appropriate HubSpot CNAME. HubSpot CMS then looks up the appropriate page based on the domain and path in the HOST header, and boom - it routes back through your proxy and to the originating requester&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps anyone who is struggling with this setup&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 13:24:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/515729#M25726</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2021-10-26T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/515734#M25727</link>
      <description>&lt;P&gt;One additional item that might help - if you were attempting to perform the same type of lookup using curl as the proxy (using the HubSpot CNAME), it would look like this:&lt;/P&gt;
&lt;PRE dir="ltr"&gt;&lt;CODE&gt;curl &lt;A href="https://tc.robertpainslie.com/proxy-page" target="_blank" rel="noopener"&gt;https://tc.robertpainslie.com/proxy-page&lt;/A&gt; --connect-to ::&lt;A href="http://XX.sites-proxy.hscoscdnXX.net" target="_blank" rel="noopener"&gt;XX.sites-proxy.hscoscdnXX.net&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P dir="ltr"&gt;Compare to this (to replicate what won't work):&lt;/P&gt;
&lt;PRE dir="ltr"&gt;&lt;CODE&gt;curl &lt;A href="https://XX.sites-proxy.hscoscdnXX.net/" target="_blank" rel="noopener"&gt;https://XX.sites-proxy.hscoscdnXX.net/&lt;/A&gt; -H 'Host: &lt;A href="http://tc.robertpainslie.com/proxy-page" target="_blank" rel="noopener"&gt;tc.robertpainslie.com/proxy-page&lt;/A&gt;'&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 23:13:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/515734#M25727</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2021-10-26T23:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/617403#M28357</link>
      <description>&lt;P&gt;You're amazing! Thank you so much for the extra details, I couldn't finish the setup just looking in the official page. It worked perfectly using AWS Cloudfront.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:02:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/617403#M28357</guid>
      <dc:creator>Maicon</dc:creator>
      <dc:date>2022-04-18T21:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/617429#M28358</link>
      <description>&lt;P&gt;You're welcome!&amp;nbsp;&lt;BR /&gt;If you have any additional insights or want to comment on the specifics of your implementation it would help make this post stronger!&lt;BR /&gt;Also, let me know what was unclear in the official documentation - I've been working with HubSpot's Tech Writing team to improve the reverse proxy documentation.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:56:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/617429#M28358</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2022-04-18T21:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/685578#M30179</link>
      <description>&lt;P&gt;hi, I have a question becouse you type: "&lt;SPAN&gt;you want the initiating domain to be the exact same that you add to HubSpot&lt;/SPAN&gt;". Then it is not possible to create a proxy if I have a subdomain at HubSpot (blog.mydomain.com) already and my main domain is "mydomain.com" ?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 10:08:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/685578#M30179</guid>
      <dc:creator>PTrojanowski</dc:creator>
      <dc:date>2022-08-26T10:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/685679#M30182</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/439804"&gt;@PTrojanowski&lt;/a&gt;&amp;nbsp;In this situation, I'll assume the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You have an externally (non-HubSpot) hosted website at 'mydomain.com'&lt;/LI&gt;
&lt;LI&gt;You have an existing blog hosted with HubSpot at blog.mydomain.com&lt;/LI&gt;
&lt;LI&gt;You want to have traffic go to mydomain.com/blog/{article} and that content to be your HubSpot hosted blog origin&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Assuming that's the desired behavior, you would need to (at a high level):&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Have the HubSpot CMS Enterprise product tier&lt;/LI&gt;
&lt;LI&gt;Follow the instructions to 'add' mydomain.com to HubSpot, but not ACTUALLY update your DNS to point the domain at HubSpot (it should point to your proxy server)&lt;/LI&gt;
&lt;LI&gt;Once SSL is pre-provisioned in HubSpot, make mydomain.com/blog the new primary domain &amp;amp; sub-directory of your HubSpot hosted blog in HubSpot&lt;/LI&gt;
&lt;LI&gt;Have your proxy point traffic at HubSpot for the specific routes&lt;/LI&gt;
&lt;LI&gt;Set up redirects for all traffic from blog.mydomain.com/{article} to mydomain.com/blog/{article} so that old traffic routes to the proxied domain&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 14:03:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/685679#M30182</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2022-08-26T14:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/687471#M30228</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1226"&gt;@robertainslie&lt;/a&gt;, thanks for the answer!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that&amp;nbsp; "&lt;SPAN&gt;HubSpot CMS Enterprise product tier&lt;/SPAN&gt;" is necessary to have this?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 11:47:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/687471#M30228</guid>
      <dc:creator>PTrojanowski</dc:creator>
      <dc:date>2022-08-31T11:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/687564#M30232</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/439804"&gt;@PTrojanowski&lt;/a&gt;&amp;nbsp;- correct - reverse proxy setup is only available as part of a HubSpot CMS Enterprise tier.&lt;/P&gt;
&lt;P&gt;There are obviously some other great features part of that product tier as well (one of the most powerful is access to CMS serverless functions, allowing for dynamic/data driven pages/light weight web apps).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're wanting to move forward with this project but not sure on your product tiers, shoot me a DM with your HubSpot Hub ID and I can connect with you, and loop in your Customer Success Manager or account executive and we can chat more about if this is the right fit to move forward with.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 13:36:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/687564#M30232</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2022-08-31T13:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/769217#M33342</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1226"&gt;@robertainslie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you make a print screen on the Behaviour configuration? I'm not able to make it working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 17:45:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/769217#M33342</guid>
      <dc:creator>VIacob</dc:creator>
      <dc:date>2023-03-15T17:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/769818#M33357</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537236"&gt;@VIacob&lt;/a&gt;&amp;nbsp;- there's likely several ways you can set the behaviors to make it work, but here's what I have in my test setup. I'm including screnshots of the origin setup and a specific behavior.&lt;BR /&gt;&lt;STRONG&gt;Origin:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_3-1678983257804.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87489iE21241136F21A34E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_3-1678983257804.png" alt="robertainslie_3-1678983257804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Behaviors:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_0-1678983009812.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87486iD842E842EA68EECA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_0-1678983009812.png" alt="robertainslie_0-1678983009812.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_1-1678983022436.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87487iA1DDE7471BDE90BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_1-1678983022436.png" alt="robertainslie_1-1678983022436.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_2-1678983062474.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87488i214D9E331B36DB3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_2-1678983062474.png" alt="robertainslie_2-1678983062474.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 16:14:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/769818#M33357</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2023-03-16T16:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/802225#M34440</link>
      <description>&lt;P&gt;Thanks for your help I thought i'd point a couple of extras from when we were getting ours setup we were following this but also found a couple of extra paths that should be useful&lt;/P&gt;
&lt;PRE class="" data-stringify-type="pre"&gt;Ideally, all paths under your domain should proxy to HubSpot. If that's not the case, then the following paths must proxy so assets load properly from your domain: /_hcms/*, /hs/*, /hubfs/*, /hs-fs/*​, /cs/c/*, and /e3t/*.&lt;/PRE&gt;
&lt;P&gt;/events/public/*&amp;nbsp; &amp;nbsp; &amp;nbsp;- This is for redirects in emails to work correctly&lt;BR /&gt;/___context___/*&amp;nbsp; &amp;nbsp; - This allows devs to use the developer info page&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 11:44:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/802225#M34440</guid>
      <dc:creator>matt_scott</dc:creator>
      <dc:date>2023-06-02T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/803392#M34485</link>
      <description>&lt;P&gt;Hallo ,&lt;BR /&gt;&lt;BR /&gt;I hope this message finds you well. I am currently in the process of reverse proxying a subdomain (client-domain-portal.rexx-systems.com) to another domain (client-domain.com) and have encountered some difficulties that I hope you can assist me with.&lt;BR /&gt;&lt;BR /&gt;For clarity:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- I have used "client-domain-portal" as a placeholder for the actual subdomain name in this context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;-&amp;nbsp;&lt;CODE&gt;&lt;A href="http://rexx-systems.com" target="_blank" rel="noopener"&gt;rexx-systems.com&lt;/A&gt;&lt;/CODE&gt; is a&amp;nbsp;job portal and is an third party service provider. client-domain.com uses its services.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our primary domain, client-domain.com, is hosted on HubSpot. The challenge arises when I attempt to reverse proxy from "client-domain-portal.rexx-systems.com" to the HubSpot-hosted domain, as these two domains are distinct. My initial assumption was that it might not be feasible to reverse proxy "client-domain-portal.rexx-systems.com" to a subdomain of "client-domain.com" (like jobs.client-domain.com).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To troubleshoot, I tried to add the equivalent subdomain (client-domain-portal.client-domain.com) to the HubSpot Domain Manager without directly connecting it. Unfortunately, this attempt wasn't successful. I also attempted to add "client-domain-portal.rexx-systems.com" as suggested on &lt;A href="https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support" target="_blank" rel="noopener"&gt;Hubspot offical documentation for reverse proxy support.&lt;/A&gt;&amp;nbsp;In this documentation: I read that the&amp;nbsp;"added to HubSpot but not directly connected" domain must match the domain being requested through the reverse proxy, but this too was met with the same hurdle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Considering the above, I would greatly appreciate if you could provide guidance on how to structure the Nginx configuration file in this particular scenario and clarify which domains are permissible to add.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your reference, the HubSpot CNAME is something like XXXXXX67.sites-proxy.hscoscdn10.net.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following is a summary of how I understand it, please correct me, if I am wrong:&lt;/P&gt;
&lt;OL class=""&gt;
&lt;LI class="" data-list-indent="1" data-list-type="numbered"&gt;
&lt;P&gt;Domain ownership verification via pre-provisioning an SSL certificate is a crucial step: no direct domain connection ==&amp;gt; only the "pre-provisioning DNS records" have to be added to the DNS provider.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="" data-list-indent="1" data-list-type="numbered"&gt;
&lt;P&gt;the origin connection (proxy connection) is a HubSpot CNAME.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Host = X-HS-Public-Host = the content host domain "added to HubSpot Domain Manager but not directly connected" = HubSpot domain where content will be served from. ==&amp;gt; HubSpot systems are ‘aware’ of the domain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on that&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;server {
    location /karrieres {
        proxy_set_header Host $http_host;

        proxy_pass_request_headers on;
        proxy_pass https://XXXXXX67.sites-proxy.hscoscdn10.net;


        proxy_set_header Accept-Encoding "";
        ssi on;

        proxy_set_header X-HS-Public-Host https://client-domain-portal.rexx-systems.com;


        proxy_ssl_server_name on;
        proxy_ssl_name https://client-domain-portal.rexx-systems.com;



       proxy_set_header X-HubSpot-Trust-Forwarded-For true;
       proxy_set_header X-Real-IP $proxy_protocol_addr;
       proxy_set_header X-Forwarded-Proto $scheme;
       proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       proxy_set_header X-HubSpot-Client-IP $proxy_protocol_addr;
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-pm-slice="0 0 []"&gt;Should I change &lt;CODE&gt;$http_host to the content host domain?&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Is it right to have &lt;CODE&gt;X-HS-Public-Host and proxy_ssl_name set to the same domain?&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For testing purposes, I am using an Nginx Docker image for reverse proxying. I am wondering if this could be the source of the current issues? It is worth noting that the reverse proxy operates as expected when I direct client-domain-portal.rexx-systems.com to localhost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My initial plan was to deploy the Docker image on Google Cloud Run. However, based on some recent findings, I am now considering Amazon CloudFront or AWS EC2/ELB as possible alternatives. Google Cloud CDN or Google Cloud Load Balancing are also on the table, but cost considerations will be a deciding factor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anything is unclear, please do not hesitate to ask me.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your time and assistance. I look forward to your expert guidance on this matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Abdalrohman Alsalkhadi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1226"&gt;@robertainslie&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 09:20:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/803392#M34485</guid>
      <dc:creator>AAlsalkhadi</dc:creator>
      <dc:date>2023-06-06T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/806011#M34594</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/111325"&gt;@karstenkoehler&lt;/a&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487" target="_blank" rel="noopener"&gt;@LMeert&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/426475" target="_blank" rel="noopener"&gt;@coldrickjack&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/152964" target="_blank" rel="noopener"&gt;@nikodev&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/129315" target="_blank"&gt;@Kenan&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/151048" target="_blank"&gt;@hhawk&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/172803" target="_blank"&gt;@michelle24,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;do you have any experience with reverse proxies?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 13:31:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/806011#M34594</guid>
      <dc:creator>AAlsalkhadi</dc:creator>
      <dc:date>2023-06-12T13:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/814410#M34845</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/165038"&gt;@AAlsalkhadi&lt;/a&gt;&amp;nbsp;- I replied to the other post you created here. Apologies for the delay, I've been out of office -&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/CMS-Development/Issue-with-using-Reverse-Proxy-with-Hubspot/m-p/806029#M34595" target="_blank"&gt;https://community.hubspot.com/t5/CMS-Development/Issue-with-using-Reverse-Proxy-with-Hubspot/m-p/806029#M34595&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 17:56:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/814410#M34845</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2023-06-30T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/841021#M35623</link>
      <description>&lt;P&gt;We are struggling with this part:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp;Instead, when a domain is securely served on an existing content host, HubSpot provides a TXT and CNAME record to add to your DNS".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Whenever we register our domain which is already in use and provisioned with a SSL certificate, we do not get a TXT and a CNAME record, we get two TXT records from Hubspot and one of them is an ACME challenge (_acme-challenge.www) and the other one is a custom hostname (_cf-custom-hostname.www).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Why could it be that that it does not provide a CNAME record?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 10:24:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/841021#M35623</guid>
      <dc:creator>aitortomas</dc:creator>
      <dc:date>2023-08-28T10:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/841061#M35624</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1226"&gt;@robertainslie&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;thank you very much for answering my question.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:03:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/841061#M35624</guid>
      <dc:creator>AAlsalkhadi</dc:creator>
      <dc:date>2023-08-28T12:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/884720#M36862</link>
      <description>&lt;P data-unlink="true"&gt;There is a new domain connection process in HubSpot to better indicate the steps necessary when adding a domain to the HubSpot domains tool for use in a reverse proxy. I'll include several screenshots in this post and also a follow up reply that shows steps in Route 53 (AWS DNS service). I've also added several &lt;A href="https://community.hubspot.com/t5/CMS-Development/Lessons-Learned-from-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS/m-p/515729/highlight/true#M25726" target="_blank" rel="noopener"&gt;steps and notes in this reply post&lt;/A&gt; that show many of the necessary AWS Cloudfront steps&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Connect a domain in HubSpot.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_0-1701029756118.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103939iA2A6BDFDCF79824D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_0-1701029756118.png" alt="robertainslie_0-1701029756118.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;You likely want to pick the option to 'connect a secondary domain". Also, DESELECT the option for "Connect with HubSpot's built-in content delivery network"&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_1-1701029801026.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103940i0C2E9DD0872EC698/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_1-1701029801026.png" alt="robertainslie_1-1701029801026.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Add the domain that will be the LIVE domain for the content. This domain is likely already live with content. You are NOT updating your DNS to point your A record or CNAME at HubSpot.&lt;BR /&gt;Instead, in this step, you're telling HubSpot the domain &lt;EM&gt;to expect traffic from,&lt;/EM&gt; so HubSpot can provision an SSL Cert, verify you own the domain and add it into the system to know how to serve content for the traffic&lt;BR /&gt;.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_2-1701029868974.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103941i4A252C2FA0F3E8DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_2-1701029868974.png" alt="robertainslie_2-1701029868974.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;No major changes needed on this screen, you can likely just click through&lt;BR /&gt;Note: my screenshots are showing a subdomain (rp.mulligandevelopment.io), you can also use a root domain (i.e. domain.com; or in my example mulligandevelopment.io) if that's what you've connected in the previous step.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_3-1701029897143.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103942iAC6C9FEC20CCC5F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_3-1701029897143.png" alt="robertainslie_3-1701029897143.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;No changes here, click on through&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_4-1701029922386.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103943i17D846BFF7194507/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_4-1701029922386.png" alt="robertainslie_4-1701029922386.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;This is the MOST IMPORTANT step:&lt;/STRONG&gt;&amp;nbsp;HubSpot provides you 2 DNS records. Go to your DNS provider and create 2 records: a TXT and a CNAME. These are used for domain validation and provisioning of a certificate. &lt;STRONG&gt;DO NOT SKIP THIS STEP! REPEAT: DO NOT SKIP THIS STEP&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_5-1701029959540.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103944iCB1B9E18980B28F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_5-1701029959540.png" alt="robertainslie_5-1701029959540.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;In your DNS, add TXT and CNAME records. I'm using AWS Route 53 DNS. The values are provided to you by HubSpot in the previous step.&lt;BR /&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_6-1701030143530.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103945i297C253580B6922F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_6-1701030143530.png" alt="robertainslie_6-1701030143530.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Verify the domain connection in HubSpot. (Don't have a screenshot of this step, you can also leave this step).&amp;nbsp; Depending on the state of your proxy, you may need to have a proxy behavior setup to route traffic to your domain. You may also want to skip this step and jump to steps 9 &amp;amp; 10&lt;BR /&gt;Note: it can take several minutes (and I believe up to a few hours) to have a certificate provisioned after you have added the DNS validation records.&lt;/LI&gt;
&lt;LI&gt;Navigate back to the HubSpot domains screen and click "Actions" for the domain that you just added. Choose to "Set as Ready for Publishing".&lt;BR /&gt;The purpose of this step is to allow you to publish content in the HubSpot content tools even though the domain isn't actually connected to HubSpot, but that WILL be the domain that your user is requesting content on (i.e. Your visitor navigates to domain.com/page, where domain.com is connected to your CDN. Your CDN proxies the request to an origin based on your behavioral rules. HubSpot finds a page on the exact domain and path as requested by the user. This is a non-intuitive step to many folks who are setting up proxies, which is why I'm going into this detail)&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-26 at 7.59.23 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103948i5FBFA84218575079/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-26 at 7.59.23 PM.png" alt="Screenshot 2023-11-26 at 7.59.23 PM.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Now, to test, create and publish a web page in HubSpot CMS that uses the domain you just added to the domain manager (and validated but did not connect to HubSpot) (&lt;A href="https://community.hubspot.com/t5/CMS-Development/Lessons-Learned-from-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS/m-p/515729/highlight/true#M25726" target="_blank" rel="noopener"&gt;my post below shows this&lt;/A&gt;)&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;For some use cases, (such as moving a blog from a HubSpot subdomain to your proxied domain, you may also need to update your HubSpot blog to be located on this new domain (&lt;STRONG&gt;do this with caution! I recommend testing with a test blog and a test subdirectory/subdomain first to ensure the connection works properly). &lt;BR /&gt;&lt;BR /&gt;Contact HubSpot Support and ask about how to move a blog from one domain to another domain. &lt;BR /&gt;Note: Reverse proxy setups are not supported by HubSpot Support, but they should be able to provide some instructions for moving content from one domain to another domain)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;In your CDN, update to include a new origin and behaviors &lt;A href="https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support#configure-the-proxy" target="_blank" rel="noopener"&gt;as described in this documentation&lt;/A&gt;&amp;nbsp;that points at the appropriate HubSpot CNAME. Remember that the domain of your CDN (that your visitor is navigating to) should be the EXACT same domain that you added to the HubSpot domains tool and that you also published content on in the HubSpot CMS&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 01:20:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/884720#M36862</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2023-11-27T01:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/884730#M36863</link>
      <description>&lt;UL&gt;
&lt;LI&gt;Here's the Cloudfront Distribution for the domain rp.mulligandevelopment.io&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-26 at 8.21.04 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103949iEA1AA10401C50D8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-26 at 8.21.04 PM.png" alt="Screenshot 2023-11-26 at 8.21.04 PM.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Here's the origin connection to&amp;nbsp;203693.sites-proxy.hscoscdn40.net --&amp;gt; this is provided to you &lt;A href="https://developers.hubspot.com/docs/cms/developer-reference/reverse-proxy-support#configure-the-proxy" target="_blank" rel="noopener"&gt;in the HubSpot documentation here&lt;/A&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_0-1701048203843.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103950iE179BC96FBA49625/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_0-1701048203843.png" alt="robertainslie_0-1701048203843.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Here's a sample of behaviors - yours will likely be more complicated than that. You likely need to create several behavioral rules to proxy the following subpaths (noted in the actual documentation):&amp;nbsp;&lt;CODE&gt;/_hcms/*&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;/hs/*&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;/hubfs/*&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;/hs-fs/*​&lt;/CODE&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;/cs/c/*&lt;/CODE&gt;&lt;SPAN&gt;, and&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;/e3t/*&lt;/CODE&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_1-1701048306133.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103951iCFC38C65A5CC041E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_1-1701048306133.png" alt="robertainslie_1-1701048306133.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;When testing, create a sample webpage in HubSpot that is hosted on the domain you want to proxy:&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_2-1701048402520.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103952i618680A5CC42B3A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_2-1701048402520.png" alt="robertainslie_2-1701048402520.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_3-1701048442935.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103953i28B3CE48B0ADD4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_3-1701048442935.png" alt="robertainslie_3-1701048442935.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;If you're moving a blog from blog.domain.com to domain.com/blog (which is proxied), you will need to update your HubSpot blog settings to point to this new domain - &lt;STRONG&gt;DO THIS WITH CAUTION! TEST FIRST WITH A TEST BLOG!&lt;/STRONG&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertainslie_4-1701048551181.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/103954iE9723997E725407B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertainslie_4-1701048551181.png" alt="robertainslie_4-1701048551181.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 27 Nov 2023 01:29:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/884730#M36863</guid>
      <dc:creator>robertainslie</dc:creator>
      <dc:date>2023-11-27T01:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lessons Learned from Setting up a Reverse Proxy With HubSpot CMS (includes sample nginx config!)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/884797#M36864</link>
      <description>&lt;P&gt;Regarding step 6, domain validation, what happens if a CNAME record cannot be added because it is already in use? We had our domain validated by Hubspot via HTTP challenge and now in the reverse proxy verification we get that it fails checking&amp;nbsp;Delegated Domain Control Validation (DCVs). We received also a message saying that the reverse proxy would stop working unless we fix that.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 08:20:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Tutorial-Setting-up-a-Reverse-Proxy-With-HubSpot-CMS-with-sample/m-p/884797#M36864</guid>
      <dc:creator>aitortomas</dc:creator>
      <dc:date>2023-11-27T08:20:53Z</dc:date>
    </item>
  </channel>
</rss>

