Zane Helton
Zane Helton

Reputation: 1062

Vercel can't talk to my backend in production

I'm deploying a side-project at the moment that I've built on React+Nodejs.

I deployed the React part using Vercel, what a great service. I then deployed my Node backend to AWS ECS that is currently active and accessible.

The problem is, Vercel configures HTTPS by default so I need to enable HTTPS on my backend as well to allow for communication. Otherwise, I get a "Blocked mixed content" error on the frontend.

I've tried obtaining a certificate from ACM but Vercel has it so that I can't add a CAA record for Amazon (it removes the "." at the end). I currently have a support ticket with Vercel to try and resolve this.

If there's an alternate way to resolve this issue, or if I'm not even on the right track, let me know. Thanks.

Edit: This is the page I followed for ACM: https://docs.aws.amazon.com/acm/latest/userguide/setup-caa.html

Upvotes: 0

Views: 1522

Answers (1)

paulogdm
paulogdm

Reputation: 1801

The trailing dot is actually not required. As you can see here, Vercel is also using multiple CAA record without any issues. You can search for more examples online.

Upvotes: 1

Related Questions