What are the steps for using Appwrite Cloud behind a custom domain and Cloudflare tunnel?
- 0
- Cloud
Hello everyone! 👋🏻
Currently my project in Flutter points directly to Appwrite Cloud:
client.setEndpoint("https://cloud.appwrite.io/v1");
client.setProject("66c47cef102a32340eds");
client.setSelfSigned(status: true);
This all works well. 👍🏻
Now I'd like to put this behind a custom domain, let's say "https://api.example.com". That I'd like to tunnel through Cloudflare as well.
I found this documentation, which seems straight forward: https://appwrite.io/docs/advanced/platform/custom-domains
But I'm confused how to set up the Cloudflare part. I already have my main domain (let's say "example.com") tunneled through Cloudflare. Now I'd like to do the same for "api.example.com".
Another thing I'm wondering is what setEndpoint, setProject and setSelfSigned on the client side look like after setting up my custom domain and Cloudflare tunnel. Is setting the project Id still needed for example? I have this in mind:
client.setEndpoint("https://api.example.com");
client.setSelfSigned(status: true);
Does anyone know which steps to take to set correctly set up a custom domain and Cloudflare tunnen combined with Appwrite Cloud? 😊
What are the steps for using Appwrite Cloud behind a custom domain and Cloudflare?
What are the steps for using Appwrite Cloud behind a custom domain and Cloudflare tunnel?
Recommended threads
- Cloud function deployment failures
When I run appwrite push functions, select the function I want to deploy, confirm with a YES, is starts deploying but goes into error. I need to repeat the ste...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...