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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. Different URL for Webhook in Cloudron

Different URL for Webhook in Cloudron

Scheduled Pinned Locked Moved N8N
13 Posts 4 Posters 390 Views 4 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.
  • jamesJ james

    Hello @firmansi
    Currently, the N8N app is only supporting redirections as secondary domains.
    Also, the WEBHOOK_URL is set by the package at each start to the $CLOUDRON_APP_ORIGIN.

    We would have to add this feature to the N8N app to allow full secondary locations.
    Is this feature highly necessary for you or more a convenience?
    Also can you give us some examples when this feature is needed?

    firmansiF Offline
    firmansiF Offline
    firmansi
    wrote last edited by
    #3

    @james Yes, this feature is highly necessary for our use case rather than just a convenience.

    To give you an example, it works similarly to Typebot, where the domain for development and backend management is kept separate from the public-facing chat interface.

    We see a similar need in n8n. When we build public-facing features like n8n Chat or Forms, keeping them on the same domain as the workflow development console creates a major limitation. As long as they share the same URL on Cloudron, we cannot fully utilize these public features natively for our users; our only workaround right now is embedding them (as an iframe).

    Having full secondary domain support would allow us to host the admin console on one domain while securely serving the public forms and chats on another

    1 Reply Last reply
    2
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #4

      Hello @firmansi

      Thank you for explaining.
      I will look into this next week.

      1 Reply Last reply
      1
      • firmansiF Offline
        firmansiF Offline
        firmansi
        wrote last edited by
        #5

        @james Is there any ETA plan for this addition in Cloudron?

        1 Reply Last reply
        1
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #6

          Hello @firmansi
          Unfortunately I can't give you a reliable ETA.
          I might be able to look into this the coming week, but I can't promise anything.

          1 Reply Last reply
          1
          • firmansiF Offline
            firmansiF Offline
            firmansi
            wrote last edited by
            #7

            @james is there any plan to implement this?

            robiR jamesJ 2 Replies Last reply
            1
            • firmansiF firmansi

              @james is there any plan to implement this?

              robiR Offline
              robiR Offline
              robi
              wrote last edited by
              #8

              @firmansi can you work around as a second n8n instance or another webhook provider?

              Conscious tech

              firmansiF 1 Reply Last reply
              0
              • firmansiF firmansi

                @james is there any plan to implement this?

                jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote last edited by
                #9

                Hello @firmansi
                Sorry for the delay.
                The Cloudron 10 release currently takes priority over new app features.

                1 Reply Last reply
                1
                • robiR robi

                  @firmansi can you work around as a second n8n instance or another webhook provider?

                  firmansiF Offline
                  firmansiF Offline
                  firmansi
                  wrote last edited by
                  #10

                  @robi What do you mean another webhook provider?

                  robiR 1 Reply Last reply
                  0
                  • firmansiF firmansi

                    @robi What do you mean another webhook provider?

                    robiR Offline
                    robiR Offline
                    robi
                    wrote last edited by
                    #11

                    @firmansi like nocodb, it's a separate url, as another n8n instance would be as well.

                    Conscious tech

                    1 Reply Last reply
                    0
                    • andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      App Dev
                      wrote last edited by
                      #12

                      @james @girish Out of curiosity I checked the current n8n package and this appears to be a small package-only change to satisfy @firmansi neeys. No Cloudron platform or custom nginx changes are required.

                      The implementation could be as simple as:

                      • Add "multiDomain": true to CloudronManifest.json
                      • Set N8N_EDITOR_BASE_URL to the primary CLOUDRON_APP_ORIGIN
                      • Let users select an alias with N8N_WEBHOOK_URL in /app/data/env.sh
                      • Preserve existing legacy WEBHOOK_URL overrides

                      One limitation: an alias exposes the whole n8n app, not only webhook paths. It nevertheless provides the requested separate canonical domain for forms, chat, and generated webhook URLs.

                      I can attach the ready patch here if helpful.

                      1 Reply Last reply
                      1
                      • jamesJ Offline
                        jamesJ Offline
                        james
                        Staff
                        wrote last edited by james
                        #13

                        Hello @andreasdueren
                        Thanks for the input.
                        I have tested this and what you have stated is indeed correct.

                        So yes we can add this feature, but the alias will still redirect to n8n itself.
                        If that is okay, I can create an app update for N8N.

                        1 Reply Last reply
                        1

                        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