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. app-proxy doesn't do paths?

app-proxy doesn't do paths?

Scheduled Pinned Locked Moved Solved Support
app proxy
8 Posts 3 Posters 1.0k 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.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by girish
      #1

      Is there a good reason this doesn't work?
      b0469329-39b8-4e43-a273-48de799aabdb-image.png

      Conscious tech

      1 Reply Last reply
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        Is there a specific use-case to support this?

        robiR 1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by nebulon
          #3

          As a whole cloudron does not support subpaths and only subdomains. When using subpaths, one needs to also consider the security (csrf, cookies, local storage) etc . It's not solvable at a generic level and not worth the trouble.

          1 Reply Last reply
          0
          • nebulonN nebulon

            Is there a specific use-case to support this?

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            @nebulon Yes, considering how proxies work, even reverse proxies have the ability to take an input http request and transform it into an output request of any destination.

            Hence if I want a subdomain entry point to go to a API path, that makes things easier. Besides, we do the reverse of this all the time in presenting web apps via simpler URLs from more complex paths from backend services.

            It seems like really basic functionality that's missing if only (sub).domain.com to (sub).domain.com mappings are supported. Paths are a critical part of the web.

            Conscious tech

            nebulonN 1 Reply Last reply
            0
            • robiR robi

              @nebulon Yes, considering how proxies work, even reverse proxies have the ability to take an input http request and transform it into an output request of any destination.

              Hence if I want a subdomain entry point to go to a API path, that makes things easier. Besides, we do the reverse of this all the time in presenting web apps via simpler URLs from more complex paths from backend services.

              It seems like really basic functionality that's missing if only (sub).domain.com to (sub).domain.com mappings are supported. Paths are a critical part of the web.

              nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #5

              @robi it seems to me that this might as well be handled in the upstream server then for the moment. Of course we can add further URL rewrite capabilities in the future, but I guess we wait a bit to collect further requirements in that area first.

              robiR 1 Reply Last reply
              0
              • nebulonN nebulon

                @robi it seems to me that this might as well be handled in the upstream server then for the moment. Of course we can add further URL rewrite capabilities in the future, but I guess we wait a bit to collect further requirements in that area first.

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by robi
                #6

                @nebulon if that's the view, then there is no need for the app-proxy rewrite, no?

                Yet there is.

                All these scenarios and their reverse variants are useful, including any parameteres at the end:

                1. tld --> tld
                2. sub --> tld
                3. path --> tld
                4. path --> sub
                5. path --> path
                6. any --> :port(/path)

                Conscious tech

                nebulonN 1 Reply Last reply
                1
                • robiR robi

                  @nebulon if that's the view, then there is no need for the app-proxy rewrite, no?

                  Yet there is.

                  All these scenarios and their reverse variants are useful, including any parameteres at the end:

                  1. tld --> tld
                  2. sub --> tld
                  3. path --> tld
                  4. path --> sub
                  5. path --> path
                  6. any --> :port(/path)
                  nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote on last edited by
                  #7

                  @robi I agree it is useful, maybe you can add this as a feature request though, as currently it is explicitly not supported.

                  1 Reply Last reply
                  0
                  • robiR robi referenced this topic on
                  • girishG girish marked this topic as a question on
                  • girishG girish has marked this topic as solved on
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    Feature request at https://forum.cloudron.io/topic/8487/enhance-app-proxy-app-with-path-and-port-support

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