Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow serving apps at/ #3378

Closed
Closed
Assignees
Emyrk
Labels
apiArea: HTTP API
Milestone
@ammario

Description

@ammario

Problem Statement

resource"coder_app""code-server" {agent_id=coder_agent.main.idurl="http://localhost:8080/?folder=/home/coder"icon="/icon/code.svg"}

And then is accessed at a URL likehttps://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 accesscoder_app via a subdomain instead of a path

example schema:

resource "coder_app" "code-server" {  agent_id = coder_agent.main.id  url      = "http://localhost:8080/?folder=/home/coder"  icon     = "/icon/code.svg"+ relative = true}- # url is https://coder.example.com/@workspace/app+ # url is https://workspace-app.coder.example.com/

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp