I have Appwrite behind Nginx and followed this guide to forward the real user IP: https://medium.com/@stnguyen90/how-to-run-appwrite-behind-nginx-19348ed34243
This works for e.g. user sessions, it saves the real user IP for each session created but the Locale API (Get user locale, https://appwrite.io/docs/references/1.8.x/client-web/locale#get) still returns the internal docker IP:
{"ip":"172.18.0.1","countryCode":"--","country":"Unknown","continentCode":"--","continent":"Unknown","eu":false,"currency":""}
and no data for country etc.
Is this a bug or am I missing something?
Recommended threads
- [BUG] After 1.8.0 no Screenshots of Site...
Hello, I'm facing this bug. When I deploy it works properly but screenshots are not displayed. If I open the image this is the result: URL: `https://appw.xxxx....
- CORS error using the Locale API from a b...
When I call the `GET /v1/locale` API with JS in a browser the GET request fails with `CORS Allow Origin Not Matching Origin`. Requests to `GET /v1/databases/.....
- Transaction error
Future createOperations() async { final client = Client() .setEndpoint(AppwriteConstants.apiEndPoint) .setProject(AppwriteConstants.projectI...