
First of all thank you very much for so good application. I have self-hosted AppWrite instance on my VPS. It is working on http protocol 90 and https 543. These are working perfecly fine. I wanted to make it work on my domain, so i've created A DNS record for api.domain.com for AppWrite and added nginx configuration to reverse proxy api.domain.com to VPS_IP:543. This is also working fine and i'm able to reach this domain on SSL and do all the stuff.
Problem is when i'm trying to fetch data from my frontend app, also hosted and reverse proxied on my VPS under app.domain.com. While on localhost request to login is passed (email request is OK, account request is OK and save fallbackCookie to local storage), when i try to request this from app.domain.com, email request is OK, but account request returns error User (role: guests) missing scope (account). I've realised that no cookie is present on website app.domain.com, nor local storage has fallbackCookie set.
From env, i set publicly visible domain as APP_DOMAIN _APP_DOMAIN=api.domain.com
What could be the cause that session is not stored on production, but it is stored on localhost?
Recommended threads
- Which is the best self hosting plan out ...
I am loving appwrite cloud from day 1 . But due to recent pricing changes which only allows a single project for base price would prove very costly for my remai...
- Function not creating documents
So Im having this issue where no error is thrown at all but my function isn't able to create documents inside my database. ```typescript import { Client, Databa...
- GitHub Education Pack not activating App...
Hello Appwrite Team! 👋 I'm a verified member of the **GitHub Student Developer Pack** (approved August 15, 2025; valid until August 15, 2027). I've successful...
