Two containers One Cloudflare

I have deployed two containers on Google Cloud Run for my web app.

Currently I have a custom domain on the frontend React container. I intend to use Cloudflare service to protect the frontend. But malicious attacks can be still made on my backend container. How can I protect both containers without buying one more domain name for my backend service?

If I understand your problem correctly, you could just use a subdomain like backend.yourname.xyz for your backend container, which would be on the same domain and therefore same plan.

This topic was automatically closed after 30 days. New replies are no longer allowed.