How to Route All Subdomains to a Single App in Coolify? #4644
Unanswered
fischer-c187
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have two apps that work together:
app-main: A platform where users can create accounts and personalized dashboards.
app-dashboard: Allows users to access their personalized dashboards, available at dashboard-name.example.com.
Expected behavior:
https://example.com → app-main (port 3000)
https://*.example.com → app-dashboard (port 3001)
Problem:
I can access the dashboard via http://test.example.com:3001, but I would like to access it without specifying the port (e.g., https://test.example.com). When I remove the port from the address, it does not work.
Here are my docker-compose configurations:
app-main:
app-dashboard:
In the 'domain for app' field, I tried adding 'https://*.example.com' and 'https://example.com/', but neither worked.
Both apps are on the same Docker network and use the same PostgreSQL instance.
How can I configure Traefik and Coolify to properly route all subdomains to app-dashboard in HTTPS?
Beta Was this translation helpful? Give feedback.
All reactions