What is the name of the domain?
www.myapp.com
What is the issue you’re encountering
I need to restrict access to few end points
What steps have you taken to resolve the issue?
I tried looking at documentation but I don’t find the document related to how will I achieve this
What feature, service or problem is this related to?
I don’t know
What are the steps to reproduce the issue?
I have a website, www.myapp.com, with the domain registered in Cloudflare. I’ve deployed a Cloudflare tunnel and would now like to conduct some tests. Specifically, I want to configure access so that certain endpoints are publicly accessible while others remain private. For example, www.myapp.com/public should be accessible to everyone, while www.myapp.com/private should be restricted and only accessible through the Cloudflare tunnel VPN, with authentication via Gmail or Azure AD login. Additionally, I have other endpoints where I’d like to apply similar rules, making some public and keeping others private. Could you provide guidance on how this can be achieved and share any useful documentation?