# CloudFront Reverse proxy verification

**URL:** <https://community.hubspot.com/t/cloudfront-reverse-proxy-verification/142657>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [November 14, 2025, 5:49pm UTC](https://community.hubspot.com/t/cloudfront-reverse-proxy-verification/142657 "2025-11-14T17:49:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [November 21, 2025, 12:50pm UTC](https://community.hubspot.com/t/cloudfront-reverse-proxy-verification/142657/4 "2025-11-21T12:50:22Z")

</div>

Hi @sarvani24 and thanks for sharing these updates!  
For CloudFront reverse proxy with 404 errors on static assets (hubfs, hs-fs), ensure your **cache behaviors** explicitly allow these paths: /\_hcms/\*, /hs/\*, /hubfs/\*, /hs-fs/hubfs/\*, /hs-fs/\*, /cs/c/\*, and /e3t/\*.  
Note that hs-fs/hubfs/\* was added on December 2024.

- In CloudFront **Behaviors** tab, create separate behaviors for each required path pattern  
- Set each behavior’s origin to your HubSpot origin (e.g., [123456.sites-proxy.hscoscdn00.net](http://123456.sites-proxy.hscoscdn00.net))  
- Verify your **Origin Request Policy** forwards cookies, query parameters, and headers (especially User-Agent)  
- Check https://[yourDomain]/\_hcms/diagnostics to confirm configuration  
The 404s likely mean CloudFront isn’t routing those specific asset paths to HubSpot’s origin.  
Here is the documentation for reference:  
- [Use a reverse proxy with HubSpot](https://developers.hubspot.com/docs/cms/best-practices/testing-staging-performance/reverse-proxy-support)  
- [CDN path for static assets (CSS & JavaScript) changing](https://developers.hubspot.com/changelog/cdn-path-for-static-assets-css-javascript-changing)  
I hope this helps!  
Bérangère  
_This post was created with the assistance of AI tools._

---

_[View the full topic](https://community.hubspot.com/t/cloudfront-reverse-proxy-verification/142657)._
