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. Feature Requests
  3. Capability to tweak CORS config of an app

Capability to tweak CORS config of an app

Scheduled Pinned Locked Moved Feature Requests
reverseproxycors
6 Posts 3 Posters 1.1k Views 5 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.
  • S Offline
    S Offline
    shrey
    wrote on last edited by girish
    #1

    Some apps, such as n8n, depend on custom reverse proxy config, for their core functioning. (See:
    https://forum.cloudron.io/topic/9011/bug-cors-error,
    https://community.n8n.io/t/cors-error-in-scenario-where-reverse-proxy-manipulation-is-not-available/25054
    )

    As Cloudron currently does not provide that facility, for use-cases where such config is essential, having the app on Cloudron becomes irrelevant.

    Thus, need that functionality within Cloudron.

    girishG 1 Reply Last reply
    3
    • S shrey referenced this topic on
    • S shrey

      Some apps, such as n8n, depend on custom reverse proxy config, for their core functioning. (See:
      https://forum.cloudron.io/topic/9011/bug-cors-error,
      https://community.n8n.io/t/cors-error-in-scenario-where-reverse-proxy-manipulation-is-not-available/25054
      )

      As Cloudron currently does not provide that facility, for use-cases where such config is essential, having the app on Cloudron becomes irrelevant.

      Thus, need that functionality within Cloudron.

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

      @shrey thanks! I adjusted the title to be CORS specific. I think adding arbitrary reverse proxy config is quite unlikely. If we allow arbit configs , then we have to somehow make sure nginx doesn't stop working with invalid configs etc. Also, Cloudron itself has nginx configuration, we have to make sure things don't conflict. It's just too generic/flexible.

      S 1 Reply Last reply
      2
      • girishG girish

        @shrey thanks! I adjusted the title to be CORS specific. I think adding arbitrary reverse proxy config is quite unlikely. If we allow arbit configs , then we have to somehow make sure nginx doesn't stop working with invalid configs etc. Also, Cloudron itself has nginx configuration, we have to make sure things don't conflict. It's just too generic/flexible.

        S Offline
        S Offline
        shrey
        wrote on last edited by
        #3

        @girish There are also other parameters that could be essential for an app. Example, rate-limiting.

        girishG 1 Reply Last reply
        0
        • S shrey

          @girish There are also other parameters that could be essential for an app. Example, rate-limiting.

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

          @shrey Yes, feel free to open separate requests for these to track them. I think anyway each configurable parameter has to be investigated separately. Thanks!

          1 Reply Last reply
          0
          • S Offline
            S Offline
            systemaddict
            wrote on last edited by
            #5

            Did anyone ever find a solution to this?

            1 Reply Last reply
            1
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @systemaddict I would check the app's configuration. Some apps let you change the CORS. It's not correct for system adminsto change CORS settings, this is a security issue waiting to happen.

              1 Reply Last reply
              0
              • J joseph forked this topic on
              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