From 2a7eba9d40fc4d6eeb2487e4de38201f4f545552 Mon Sep 17 00:00:00 2001 From: Christian Frichot Date: Wed, 7 Oct 2020 23:43:15 +0800 Subject: [PATCH] docs: update example CORS config to not allow all origins (#562) --- website/content/docs/configuration/controller.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/configuration/controller.mdx b/website/content/docs/configuration/controller.mdx index 244ef0d603..f842dcb696 100644 --- a/website/content/docs/configuration/controller.mdx +++ b/website/content/docs/configuration/controller.mdx @@ -66,7 +66,7 @@ listener "tcp" { # Enable CORS for the Admin UI cors_enabled = true - cors_allowed_origins = ["*"] + cors_allowed_origins = ["yourcorp.yourdomain.com"] } # Data-plane listener configuration block (used for worker coordination)