-
-
Notifications
You must be signed in to change notification settings - Fork 694
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem?
Our strategy with using the ddev-router (traefik) has always been to use name-based SNI routing, so the router makes the decision about which back-end container to deliver traffic to based on the hostname specified. This works great and works any time named-based routing is working.
However, there are situations where a single project may be running, and name-based routing may not be working, or the naming isn't useful. Examples of this are ddev share or GitHub Codespaces, where it's likely only one project is running, but the hostname is not what the router might expect based on its rules.
Describe your solution
When there's just one project running, the router could route traffic based on the port instead of having to use the name to route.
So https://127.0.0.1 would route to the web container, as would https://dkdisuudud.ddev.site
Describe alternatives
No response
Additional context
No response