Sfoglia il codice sorgente

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

Torkel Odegaard 12 anni fa
parent
commit
d21bd796f8
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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