8000 feat(filebrowser): support subdomain = false by Seppdo · Pull Request #286 · coder/modules · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

feat(filebrowser): support subdomain = false #286

Merged
merged 21 commits into from
Sep 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add subdomain variable
Add missing subdomain variable
  • Loading branch information
Seppdo authored Sep 17, 2024
commit e10903c1f1559367d96a16e2ec55558ad2e20fc5
9 changes: 9 additions & 0 deletions filebrowser/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ variable "order" {
default = null
}

variable "subdomain" {
type = bool
description = <<-EOT
Determines whether the app will be accessed via it's own subdomain or whether it will be accessed via a path on Coder.
If wildcards have not been setup by the administrator then apps with "subdomain" set to true will not be accessible.
EOT
default = true
}

resource "coder_script" "filebrowser" {
agent_id = var.agent_id
display_name = "File Browser"
Expand Down
0