Просмотр исходного кода

Added documentation in Readme.md for how to configure apache2 with Basic Auth and CORS

Torkel Odegaard 12 лет назад
Родитель
Сommit
d21bd796f8
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -68,6 +68,13 @@ If your Graphite web is proteced by basic authentication, you have to enable the
 </Location>
 ```
 
+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