Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Forwarding True IP Address from Nginx Proxy Manager

Forwarding True IP Address from Nginx Proxy Manager

Scheduled Pinned Locked Moved Solved Support
npmnginx
3 Posts 2 Posters 5.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alwynispat
    wrote on last edited by girish
    #1

    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. d4b5325d-b0cf-4579-b14c-f6a62f2c190d-image.png
    I've tried adding this:
    776a5e3e-782e-4f15-8475-f349b98a9a62-image.png

    I've also tried adding the TRUSTED_PROXY_IP Address in the env.production file:
    d3c8a4a4-a274-4a59-a9d7-e5bc305f7525-image.png
    But this resulted in displaying the Cloudron internal IP Address instead.
    ff9d0cb7-5c81-4ce6-a51a-a30bb5b365b8-image.png

    Find me at Mastodon

    girishG 2 Replies Last reply
    0
    • A alwynispat

      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. d4b5325d-b0cf-4579-b14c-f6a62f2c190d-image.png
      I've tried adding this:
      776a5e3e-782e-4f15-8475-f349b98a9a62-image.png

      I've also tried adding the TRUSTED_PROXY_IP Address in the env.production file:
      d3c8a4a4-a274-4a59-a9d7-e5bc305f7525-image.png
      But this resulted in displaying the Cloudron internal IP Address instead.
      ff9d0cb7-5c81-4ce6-a51a-a30bb5b365b8-image.png

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      0
      • A alwynispat

        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. d4b5325d-b0cf-4579-b14c-f6a62f2c190d-image.png
        I've tried adding this:
        776a5e3e-782e-4f15-8475-f349b98a9a62-image.png

        I've also tried adding the TRUSTED_PROXY_IP Address in the env.production file:
        d3c8a4a4-a274-4a59-a9d7-e5bc305f7525-image.png
        But this resulted in displaying the Cloudron internal IP Address instead.
        ff9d0cb7-5c81-4ce6-a51a-a30bb5b365b8-image.png

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #3

        @alwynispat actually, https://forum.cloudron.io/topic/8321/forwarding-the-true-client-ip-address/ is the feature request . Let's continue there.

        1 Reply Last reply
        1
        • girishG girish marked this topic as a question on
        • girishG 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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search