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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron and Apps Behind a Proxy

Cloudron and Apps Behind a Proxy

Scheduled Pinned Locked Moved Solved Support
reverseproxyproxymanager
31 Posts 7 Posters 5.7k Views 9 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.
    • girishG girish

      @doodlemania2 Cloudron does not require http for certs if you use the programmatic DNS backends (since it obtains certs by putting entries in DNS and not using http callbacks).

      doodlemania2D Offline
      doodlemania2D Offline
      doodlemania2
      App Dev
      wrote on last edited by
      #21

      @girish ahhh that's cool! Sad for me, using Azure DNS 😞
      I'm gonna try and figure out how to make my NGinx let both HTTP and HTTPS through on the same domain name - that would seem to be an obvious option hehe

      Jan MacenkaJ 1 Reply Last reply
      1
      • girishG girish referenced this topic on
      • doodlemania2D doodlemania2

        @girish ahhh that's cool! Sad for me, using Azure DNS 😞
        I'm gonna try and figure out how to make my NGinx let both HTTP and HTTPS through on the same domain name - that would seem to be an obvious option hehe

        Jan MacenkaJ Offline
        Jan MacenkaJ Offline
        Jan Macenka
        wrote on last edited by
        #22

        @doodlemania2 did you make any progress here?

        My Use-Case:
        I love CR for my own business and recommended it to one of my clients aswell. We want to operate it in their own infrastructure so in some private networks that are not fully exposed to the internet ans also I cant route 80/443 soley to CR since they are also operating other Web-Services which are not available in CR.

        What I am trying to achieve
        Get cloudron to run on a private network behind a NginxProxyManager in parallel to other web-services.
        SSL handling can be left to CR and Nginx should behave like a proxy server but only for sub-domains that are in conjunction with CR-Services. Ideally the forwarding rules would automatically get updated through

        What I tried so far
        Pretty much what you and others also tried. Setup is:
        Internet => NignxProxyManager => Cloudron as VM on a lager ESXi in Parallel to other Webservices

        Did you make any progress there or gave up eventually?

        doodlemania2D 1 Reply Last reply
        0
        • Jan MacenkaJ Jan Macenka

          @doodlemania2 did you make any progress here?

          My Use-Case:
          I love CR for my own business and recommended it to one of my clients aswell. We want to operate it in their own infrastructure so in some private networks that are not fully exposed to the internet ans also I cant route 80/443 soley to CR since they are also operating other Web-Services which are not available in CR.

          What I am trying to achieve
          Get cloudron to run on a private network behind a NginxProxyManager in parallel to other web-services.
          SSL handling can be left to CR and Nginx should behave like a proxy server but only for sub-domains that are in conjunction with CR-Services. Ideally the forwarding rules would automatically get updated through

          What I tried so far
          Pretty much what you and others also tried. Setup is:
          Internet => NignxProxyManager => Cloudron as VM on a lager ESXi in Parallel to other Webservices

          Did you make any progress there or gave up eventually?

          doodlemania2D Offline
          doodlemania2D Offline
          doodlemania2
          App Dev
          wrote on last edited by
          #23

          @Jan-Macenka I did! Here's my setup:

          1. Set up a wildcard cert with nginx proxy manager
          2. I forward *.domain bound for Cloudron to my cloudron server (in my instance located via a wireguard tunnel)
          3. I set DNS in Cloudron to NoOp

          Easy peasy!

          Jan MacenkaJ 1 Reply Last reply
          2
          • doodlemania2D doodlemania2

            @Jan-Macenka I did! Here's my setup:

            1. Set up a wildcard cert with nginx proxy manager
            2. I forward *.domain bound for Cloudron to my cloudron server (in my instance located via a wireguard tunnel)
            3. I set DNS in Cloudron to NoOp

            Easy peasy!

            Jan MacenkaJ Offline
            Jan MacenkaJ Offline
            Jan Macenka
            wrote on last edited by
            #24

            @doodlemania2 thank you for the suggestion. I replicated the setup though with no success as of yet. Could you be so kind and check if you did anything different?

            Here is what I did:

            Created DNS Records pointing to the public IP which will lead to the NPM:
            31e5a8b6-3a63-4cd9-b01f-b7536df0b96d-image.png

            Configure Wildcard certificate in NPM pointing my *.<DOMAIN> to the server within the private network.
            a0c95c1a-e116-4206-962f-a2f80ed2cc12-image.png

            Set Cloudron DNS to NoOp:
            <for some reason cant paste the screenshot>

            I notices that there is also a "Wildcard" Option in the CR DNS Settings but choosing this one also yielded no success. Any hint on what you did differently?

            fbartelsF 1 Reply Last reply
            0
            • Jan MacenkaJ Jan Macenka

              @doodlemania2 thank you for the suggestion. I replicated the setup though with no success as of yet. Could you be so kind and check if you did anything different?

              Here is what I did:

              Created DNS Records pointing to the public IP which will lead to the NPM:
              31e5a8b6-3a63-4cd9-b01f-b7536df0b96d-image.png

              Configure Wildcard certificate in NPM pointing my *.<DOMAIN> to the server within the private network.
              a0c95c1a-e116-4206-962f-a2f80ed2cc12-image.png

              Set Cloudron DNS to NoOp:
              <for some reason cant paste the screenshot>

              I notices that there is also a "Wildcard" Option in the CR DNS Settings but choosing this one also yielded no success. Any hint on what you did differently?

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by
              #25

              @Jan-Macenka I would expect that you need to change the destination port to https…:443.

              Jan MacenkaJ 1 Reply Last reply
              0
              • fbartelsF fbartels

                @Jan-Macenka I would expect that you need to change the destination port to https…:443.

                Jan MacenkaJ Offline
                Jan MacenkaJ Offline
                Jan Macenka
                wrote on last edited by
                #26

                @fbartels tried that aswell but with no success so far. I'll keep trying and can post again if I am successfull.

                doodlemania2D 1 Reply Last reply
                0
                • Jan MacenkaJ Jan Macenka

                  @fbartels tried that aswell but with no success so far. I'll keep trying and can post again if I am successfull.

                  doodlemania2D Offline
                  doodlemania2D Offline
                  doodlemania2
                  App Dev
                  wrote on last edited by
                  #27

                  @Jan-Macenka that's almost exactly what i did. check your firewalls and make sure you aren't blocking 443 inbound from your CR server on your private IP address?

                  A 1 Reply Last reply
                  0
                  • doodlemania2D doodlemania2

                    @Jan-Macenka that's almost exactly what i did. check your firewalls and make sure you aren't blocking 443 inbound from your CR server on your private IP address?

                    A Offline
                    A Offline
                    alwynispat
                    wrote on last edited by
                    #28

                    @doodlemania2 somewhat related, does the apps in cloudron report client ip as your nginx proxy manager's ip or their true ip?

                    Find me at Mastodon

                    girishG 1 Reply Last reply
                    0
                    • A alwynispat

                      @doodlemania2 somewhat related, does the apps in cloudron report client ip as your nginx proxy manager's ip or their true ip?

                      girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by
                      #29

                      @alwynispat X-Forwarded-For should be set when forwarding. Does nginx proxy manager support reading the IP from a header?

                      A 1 Reply Last reply
                      0
                      • girishG girish

                        @alwynispat X-Forwarded-For should be set when forwarding. Does nginx proxy manager support reading the IP from a header?

                        A Offline
                        A Offline
                        alwynispat
                        wrote on last edited by
                        #30

                        @girish said in Cloudron and Apps Behind a Proxy:

                        X-Forwarded-For

                        I got it setup like this but doesn't seem to work. Does anyone have better luck?

                        9f724bc0-e28a-4000-870a-ba88d58e4676-image.png

                        Find me at Mastodon

                        A 1 Reply Last reply
                        0
                        • A alwynispat

                          @girish said in Cloudron and Apps Behind a Proxy:

                          X-Forwarded-For

                          I got it setup like this but doesn't seem to work. Does anyone have better luck?

                          9f724bc0-e28a-4000-870a-ba88d58e4676-image.png

                          A Offline
                          A Offline
                          alwynispat
                          wrote on last edited by
                          #31

                          I'll create a new thread on this topic.

                          Find me at Mastodon

                          1 Reply Last reply
                          0
                          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