ponguta_Original post
Rank 3: Container
Hello again, as I mentioned on a previous post I have an appwrite installation behind an Nginx Proxy Manager.
When I try to make a request to /v1/locale I get this response:
JSON
{"ip":"192.168.100.200","countryCode":"--","country":"Unknown","continentCode":"--","continent":"Unknown","eu":false,"currency":""}I want to know if its possible to fix this. The Ip that I got there is the local IP of my NPM container. The installation is as follows:
- Cloudflare
- Proxmox -> Local Network
- LXC -> NPM
- LXC -> Appwrite
If anyone can help me with this it will be really appreciated.
Thanks in advance.
Summary
Issue: Locale service returning incorrect data due to Nginx Proxy Manager setup.
Solution: The issue is likely due to the proxy not passing the client's IP. To fix this, developers should configure the Nginx Proxy Manager to pass the correct client IP address to the Appwrite server headers.