mirror of https://github.com/grafana/grafana.git
Chore: update nginx config to match hosted-grafana (#108898)
update nginx config to match hosted-grafana
This commit is contained in:
parent
c28b2215e0
commit
4fae330f9b
|
@ -60,7 +60,7 @@ server {
|
|||
# API calls go to the backend
|
||||
# Cheat with app plugin paths and route them to the backend. These should come from
|
||||
# the Plugin CDN
|
||||
location ~ ^/(api|apis|bootdata|logout|public\/plugins\/grafana\-\w+\-app) {
|
||||
location ~ ^/(api|apis|avatar|bootdata|render|logout|public\/plugins) {
|
||||
if ($cookie_fs_unavailable) {
|
||||
add_header Content-Type application/json always;
|
||||
return 503 '{"code":"Loading", "message": "Soon!"}';
|
||||
|
|
Loading…
Reference in New Issue