-
Notifications
You must be signed in to change notification settings - Fork 881
Allow serving apps at /
#3378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sounds like we have to better define what the API for this is going to look like, wildcard (domain, routing, etc), and some general discussion to be had before we can get started on this. |
@spikecurtis brought up some notes from #2610
What do others think? |
The same people that have their networks chained by bureaucracy are unlikely to be able to use the solution proposed in that feature since it requires using our DNS and opens up their deployment to MITM attacks.
I think we need to support both automatically for each app to avoid breaking workflows. I also don't see a reason to disable one for the other. |
Yeah for sure it would only help for small/trial deployments who really like web browsers and dislike setting up reverse proxies and certificates. There are other solutions though, such as Caddy's on-demand TLS + builtin via compose or something which are suitable for small deployments
Yeah, it just comes down to where the link goes when the user clicks it from the dashboard (path or wildcard). I am suggesting we configure that via |
I suppose each app has to declare how it expects requests. I suppose if unspecified, it would prefer the wildcard? |
Sure, as long as a wildcard is hooked up. 🤷🏼 |
Ugh. Well, the URL has to be stable. I wish there were a way to avoid extra configuration in the template. |
Done in #3753 |
Problem Statement
And then is accessed at a URL like
https://dev.coder.com/@ammario/moria/apps/code-server
.While many web applications can be configured to serve at specific paths instead of root, it's not always obvious, possible, or convenient.
In these cases, an organization may prefer setting up a wildcard domain so their users can use apps at
/
. We should add this setting incoderd
since it would likely be configured alongside the main access URL. A coder admin could set it tocdr.app
and then requests for{agent_id}-{app_name}.cdr.app
could forward to a particular app.Definition of done
Users can access
coder_app
via a subdomain instead of a pathexample schema:
The text was updated successfully, but these errors were encountered: