Explorar el Código

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

Torkel Odegaard hace 12 años
padre
commit
d21bd796f8
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  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