From fc93632895d4f3c6cb854c42af79c4d4e9f52295 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 15 Oct 2020 22:08:28 -0400 Subject: [PATCH] Update CORS example to reduce some confusion --- website/content/docs/configuration/controller.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/content/docs/configuration/controller.mdx b/website/content/docs/configuration/controller.mdx index 321d3c6ae..88a9dcae6 100644 --- a/website/content/docs/configuration/controller.mdx +++ b/website/content/docs/configuration/controller.mdx @@ -62,9 +62,10 @@ listener "tcp" { tls_disable = false - # Enable CORS for the Admin UI - cors_enabled = true - cors_allowed_origins = ["yourcorp.yourdomain.com"] + # Uncomment to enable CORS for the Admin UI. Be sure to set the allowed origin(s) + # to appropriate values. + #cors_enabled = true + #cors_allowed_origins = ["yourcorp.yourdomain.com"] } # Data-plane listener configuration block (used for worker coordination)