From d21bd796f830f0d453c21b9e959a40c404b67fc6 Mon Sep 17 00:00:00 2001 From: Torkel Odegaard Date: Wed, 22 Jan 2014 22:25:15 +0100 Subject: [PATCH] Added documentation in Readme.md for how to configure apache2 with Basic Auth and CORS --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a3e6abee465..d3f1ca43ccf 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,13 @@ If your Graphite web is proteced by basic authentication, you have to enable the ``` +If you use basic authentication you need to set **Access-Control-Allow-Origin and add **Access-Control-Allow-Credentials. Example: +``` +Header set Access-Control-Allow-Origin "http://mygrafana.com:5656" +Header set Access-Control-Allow-Credentials true +``` + + # Roadmap - Improve and refine the target parser and editing - Improve graphite import feature