usamacudeOriginal post
Web Developer
hello everyone,
so I am working on a new project and I am using nginx proxy manager to manage SSL certificates and to redirect requests to containers,
but when making a request to get locale the response returns nginx internal ip every time
so I think that's a problem first because of the request limitation and second if we want to customize responses according to user location.
is there any solution for that?
Summary
The user is experiencing an issue where the response for getting the locale returns the Nginx internal IP instead of the expected result. They are using Nginx proxy manager to manage SSL certificates and redirect requests to containers. They are looking for a solution to resolve this issue.
Solution: The user can try adding the following lines to their `docker-compose.yml` file in the Traefik service section:
```
- --entryPoints.appwrite_web.forwardedHeaders.trustedIPs=172.18.0.3
- --entryPoints.appwrite_websecure.forwardedHeaders.trustedIPs=172.18.0.