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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unsolved Proxy subdomain from root domain

    Support
    2
    7
    233
    Loading More Posts
    • 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.
    • yusf
      yusf last edited by

      I need to serve a Cloudron application on my root domain but from the subdomain it's installed on (for some port or ports) Essentially creating a reverse proxy but since there are no reverse proxy apps for Cloudron, how would I do it? Ideally I'd like to serve completely different services on other ports such as web at 443.

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        I don't really understand the use-case for the portmapping as such, but it is unlikely Cloudron will support much further customization on the portmapping.

        Regarding the first question, is the redirect feature helping here? https://cloudron.io/documentation/apps/#setting-up-redirections

        1 Reply Last reply Reply Quote 0
        • yusf
          yusf last edited by

          Sorry for being unclear. What I need is the to be able to use the root domain as handle for federated app accounts such as Matrix/Synapse, Mastodon, PixelFed, PeerTube etc:
          @name:server.tld
          instead of
          @name.subdomain.server.tld.

          Have you ever considered enabling some special configuration options for root domains in Cloudron? Like, there's already an Nginx proxy in front of every rootdomain, right? Perhaps it'd be possible for some light, sandboxed customizations of said proxy.

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            I see what you mean now. We haven't worked towards the use-case of such federated account handles yet. It will require some more thoughts spent on the topic. There are also the special DNS records for discoverability of such services, which likely play into this as well.

            To be clear, currently this is not possible and we are not focusing on this in the next release at least. But it is good to start collecting the requirements for this.

            1 Reply Last reply Reply Quote 2
            • yusf
              yusf last edited by yusf

              Alright, thank you for considering it for future releases. I'm thinking that hacking the LAMP app to make Apache do the reverse proxying might solve it for now, but I've yet to try that.

              1 Reply Last reply Reply Quote 0
              • yusf
                yusf last edited by

                Well using the LAMP app didn't work, because reasons. 😕

                1 Reply Last reply Reply Quote 0
                • yusf
                  yusf last edited by yusf

                  @nebulon Would a simple Cloudron app with just the nginx reverse proxy configuration work?

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB