Hi all. I was trying to deploy my functions in a custom domain, functions.mydomain.com, but it failed when Appwrite was generating an SSL certificate. My app write-worker-certificates is attached. Also, I'm using Nginx Proxy Manager to redirect the request from cloud.mydomain.com to my SERVERIP:5050 when I have installed Appwrite.
I expect NPM will be intercepting the authentication request (I don’t really know NPM, but I know other reverse proxies do that). If NPM is in front of your Appwrite server, you should have NPM handle the SSL
How can I handle it? Also, I create my CNAME successfully. Do you have a guide to follow or something?
As far as I can tell, all you need to do is go to the SSL Certificates tab and click “Add SSL Certificate”, then fill in the form
I tried, but I don't know where to add the domain because functions.mydomain.com is a wildcard domain
Ah, if you want to use a wildcard domain you’ll have to do a DNS challenge
How easy that’s going to be will depend on your DNS hosting provider
Some will integrate directly with NPM
Others you’ll have to manually create new DNS records every three months
Exactly. But the DNS challenge is failing
I'm using Cloudflare as a DNS manager
Ah, then that should be pretty simple
So, first, I should review the DNS CNAME for my domain.
I create two rules. One for *.functions….and the other for functions….
Well, you don’t actually need functions.. But yeah, make sure you have *.functions. pointed at your server
I'm pointing to cloud….com, it is my domain for Appwrite
Ok, whatever your server is
Done. I have my certificates for the domain with the challenge, but now when I tried to enter to https://66d9122d848a24ba3092.functions.mydomain.com/ I got ERR_SSL_VERSION_OR_CIPHER_MISMATCH. Also, I don't know if in NPM I have to add my domain in Proxy Host or Redirection Host, and point to my IP:APPWRITE_PORT
how to got fixed i have same issue
Recommended threads
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...