Rank 3: Container
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? 😊