mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
Custom multiple routes for single domain with different containers #130
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 @A-SOM on GitHub (Dec 27, 2025).
Hello. I'm thrilled with your product and would even sponsor a cup of coffee :)
But I ran into a problem when I tried setting up multiple containers on a single domain for endpoint routing. I couldn't get it to work. Could you tell me how?
@yusing commented on GitHub (Dec 27, 2025):
First of all, do not suggest path based routing. Subdomains based routing is the go-to.
You can't use labels for this use case cuz you cannot alter properties of another route.
What is your use case? Frontend + backend API (two containers) within the same domain, or multiple irrelevant containers?
@A-SOM commented on GitHub (Dec 27, 2025):
I am use unraid and want install sdoc on my seafiles.
i am need proxy pass sdoc container -> / to domain seafiles -> path /sdoc-server
i think nice to have, if i can add label:
seafiles:
sdoc:
proxy.aliases_path - default - /
I don't see any other way right now than to create my own Docker image for intranet proxying with domain binding. If godoxy could do this as a traffic source, that would be really cool.
@A-SOM commented on GitHub (Dec 27, 2025):
When I used Nginx before, I could proxy using rewrite and close certain website elements. This was convenient with minio, for example. Therefore, Nginx's rewrite functionality is fundamentally convenient for routing.
@yusing commented on GitHub (Dec 29, 2025):
currently GoDoxy does not have a good support for this use case, but doable:
seafile_realandsdocTo add support for this, it will be something like:
@A-SOM commented on GitHub (Dec 29, 2025):
Thanks. i am up nginx as reverse proxy :)