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
- script "build" was terminated by signal ...
Heyo, For some reason, my Next.js 16.0.10 version does not build properly. Here is the last logs: ``` 1063 packages installed [22.54s] $ next build ⚠ No build...
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...