From 92e0105d1797cd7330d123b349626f5de7624645 Mon Sep 17 00:00:00 2001 From: Eric Paulsen Date: Tue, 14 Feb 2023 16:56:10 -0500 Subject: [PATCH] docs: add template-level URL override --- docs/networking.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/networking.md b/docs/networking.md index 43d376121cff7..d37d4633a6aa3 100644 --- a/docs/networking.md +++ b/docs/networking.md @@ -22,6 +22,18 @@ NAT between workspaces and coder server. Users connect to the coder server's dashboard and API through its `ACCESS_URL` as well. There must not be a NAT between users and the coder server. +Template admins can overwrite the site-wide access URL at the template level by +leveraging the `url` argument when [defining the Coder provider](https://registry.terraform.io/providers/coder/coder/latest/docs#url): + +```terraform +provider "coder" { + url = "https://coder.namespace.svc.cluster.local" +} +``` + +This is useful when debugging connectivity issues between the workspace agent and +the Coder server. + ## Web Apps The coder servers relays dashboard-initiated connections between the user and