Different URL for Webhook in Cloudron
-
@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.
-
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. -
@james that means the alias domain still can expose main login domain for example my n8n domain is abc.domain.com and the alias domain is xyz.domain.com then if someone point to xyz.domain.com then it still can open n8n login directly too?
-
@james that means the alias domain still can expose main login domain for example my n8n domain is abc.domain.com and the alias domain is xyz.domain.com then if someone point to xyz.domain.com then it still can open n8n login directly too?
-
@firmansi Correct
@andreasdueren well, i think that's not what i expect LOL, it's still unsecured
-
Hello @firmansi
it's still unsecured
I think unsecured is a bit unproportioned, unless you N8N somehow has no login validation.
But I still understand your point being that you wish for the subdomain to not redirect to the main N8N.
I will have to think about this if that is somehow possible. -
Hello @firmansi
it's still unsecured
I think unsecured is a bit unproportioned, unless you N8N somehow has no login validation.
But I still understand your point being that you wish for the subdomain to not redirect to the main N8N.
I will have to think about this if that is somehow possible. -
N nebulon forked this topic
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