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.

-
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.
-
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 actually, https://forum.cloudron.io/topic/8321/forwarding-the-true-client-ip-address/ is the feature request . Let's continue there.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login