Forwarding True IP Address from Nginx Proxy Manager
-
So I have tons of services running on my network and I'm using the Nginx Proxy Manager (NPM).
It work's fine but I noticed the apps in Cloudron reporting the NPM IP Address instead of the true IP Address.
In this case, it's the Mastodon app.
I've tried adding this:
I've also tried adding the TRUSTED_PROXY_IP Address in the env.production file:
But this resulted in displaying the Cloudron internal IP Address instead.
-
@alwynispat We don't have this feature yet. If you use the built-in app proxying (which I guess in some ways replaces NPM), then the IP is set correctly - https://docs.cloudron.io/apps/#app-proxy .
For your situation, we need Cloudron to "trust" the X-Forwarded* headers which it currently doesn't.
-
@alwynispat actually, https://forum.cloudron.io/topic/8321/forwarding-the-true-client-ip-address/ is the feature request . Let's continue there.
-
-