mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 06:08:33 -05:00
[GH-ISSUE #603] Conflicting Rules Between next-router and ws-router in Multi-Domain Setup? #1526
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lekoOwO on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/603
I'm following the official example for traefik setting up with Docker compose:
However, the rule of
next-routerandws-routerboth match the same host (pangolin.example.com), and sincews-routerdoesn’t restrict any path, it seems to overlap withnext-router.I'm also trying to expand this to support multi-domain/subdomain routing, like
*.example.comand*.example.org. Here's what I'm currently doing:Questions:
Any advice or suggestions would be greatly appreciated. Thank you!
@spacecake commented on GitHub (Apr 27, 2025):
I am interested too in a multi domain setup for this use case.
Promising project, available for testing 🌞
@miloschwartz commented on GitHub (Apr 28, 2025):
It's a little confusing but because of
!PathPrefix('/api/v1')innext-routerandPathPrefix('/api/v1')inapi-routerthe result is thatws-routercatches requests going to/ws. This is one of those things we did early on and never got around to improving.@github-actions[bot] commented on GitHub (May 13, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@acedanger commented on GitHub (May 21, 2025):
Don't close this down - multi-domain usage is a hugely beneficial feature. I have multiple domains that I like to spread my stuff over 2 or 3 domains. Cloudflare Tunnels has this ability and It's my one hesitance with using this project.
This was the first project I've sponsored. This is a fantastic project.
@miloschwartz commented on GitHub (May 22, 2025):
@acedanger You can use more than on domain for resources. You add them via the config file right now. Check out the domains section: https://docs.fossorial.io/Pangolin/Configuration/config
@github-actions[bot] commented on GitHub (Jun 6, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@github-actions[bot] commented on GitHub (Jun 20, 2025):
This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.