
Hey all. I'm having trouble hosting my appwrite function domain. First, I already registered a domain say, example.com, and I have configured wildcard ssl certificate and wildcard domain to host my appwrite on this example.domain (appwrite.example.com), and I also configured nginx to proxy_pass appwrite.example.com to localhost. I also changed _APP_DOMAIN_FUNCTIONS in .env to appwrite.example.com
. Everything works fine until I deploy a function and a random function ID is assigned to the appwrie.example.com
domain. It seems that I have to configure wildcard * to appwrite.example.com. And, the domain section in the function section doesnt have a CNAME.


and how to setup wildcard domain for deployed functions in nginx so it can pass to appwrite on localhost ?

The function domain should be different than your main domain

Like functions.example.com. then, you'll need to make sure *.functions.example.com points to appwrite.example.com using a cname record.
Then, configure nginx to forward the traffic
Recommended threads
- Origin error after changing default port...
Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- CSV Import not working
I am running 1.7.4, trying the sample book csv import. I get a pop up saying import started and then a quick follow up saying completed. Nothing ever appears ...
