mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
updated readme.md
This commit is contained in:
parent
d21bd796f8
commit
915f2a4914
13
README.md
13
README.md
@ -56,8 +56,12 @@ Header set Access-Control-Allow-Methods "GET, OPTIONS"
|
|||||||
Header set Access-Control-Allow-Headers "origin, authorization, accept"
|
Header set Access-Control-Allow-Headers "origin, authorization, accept"
|
||||||
```
|
```
|
||||||
|
|
||||||
If your Graphite web is proteced by basic authentication, you have to enable the HTTP verb OPTIONS. This looks like the following for Apache:
|
If your Graphite web is proteced by basic authentication, you have to enable the HTTP verb OPTIONS, origin
|
||||||
|
(no wildcards are allowed in this case) and add Access-Control-Allow-Credentials. This looks like the following for Apache:
|
||||||
```
|
```
|
||||||
|
Header set Access-Control-Allow-Origin "http://mygrafana.com:5656"
|
||||||
|
Header set Access-Control-Allow-Credentials true
|
||||||
|
|
||||||
<Location />
|
<Location />
|
||||||
AuthName "graphs restricted"
|
AuthName "graphs restricted"
|
||||||
AuthType Basic
|
AuthType Basic
|
||||||
@ -68,13 +72,6 @@ If your Graphite web is proteced by basic authentication, you have to enable the
|
|||||||
</Location>
|
</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
|
# Roadmap
|
||||||
- Improve and refine the target parser and editing
|
- Improve and refine the target parser and editing
|
||||||
- Improve graphite import feature
|
- Improve graphite import feature
|
||||||
|
Loading…
Reference in New Issue
Block a user