-
|
Hey everyone! Im asking if someone could help with setting up dokploy in such a way, that the dashboard is only accessible on dokploy.whateverdomain.tld. I dont want whateverdomain.tld to be the dashboard, even throwing a 404 or some error-code for now. I tried on my own but Im getting an "Invalid Origin" when im trying to login in over the dokploy.whateverdomain.tld. Thanks if someone could help or provide a manual. I already searched the docs but maybe I missed something. My dokploy.yml inside of traefik. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @carlooon! I'm Dosu and I’m helping the dokploy team. The "Invalid Origin" error happens because Dokploy uses better-auth for authentication, which validates that incoming requests come from a trusted origin. Your subdomain The fix is through the Web Server Settings in the Dokploy dashboard:
Dokploy manages trusted origins in the database, not via environment variables, so your Traefik config alone isn't enough — the dashboard itself needs to know about the subdomain [4]. Once that's configured, your Traefik If you also want to manage trusted origins more granularly (e.g., keep IP-based access too), you can add additional origins through the dashboard or the API endpoints ( To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Hi @carlooon! I'm Dosu and I’m helping the dokploy team.
The "Invalid Origin" error happens because Dokploy uses better-auth for authentication, which validates that incoming requests come from a trusted origin. Your subdomain
dokploy.whateverdomain.tldisn't in that list yet.The fix is through the Web Server Settings in the Dokploy dashboard:
http://<your-server-ip>:3000[1]dokploy.whateverdomain.tldand enable HTTPS / Let's Encrypt as needed [2]…