Define custom subdomain for app to use with vars.
I want my app to use a specific subdomain.
More specificly the workspace name.
Is something like that posible?
8 Replies
<#1329725388976553984>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hey @WBR_K, I'm not sure what you mean, could you give an example of what you'd like?
What I'm trying to do is that the workspace has a predefined subdomain for the workspace port 80.
See example.
I added
subdomain_url = lower(data.coder_workspace.me.name)
.@WBR_K - Are you wanting something like a dev server of the app you are developing to be a available on a subdomain?
If yes, for what purpose?
coder_app
s already use <app>--<agent>--<workspace>--<username>.example.com
(if the subdomain
attribute is true) - I don't believe it's possible to customise it any furtherThanks for your message!
I think I may leave a feature request in the Github repo. 👍
please send the link here if you do!
@Phorcys closed the thread.