- 之前配置Grafana时发现的错误
- 错误信息
- 1.png
If you're seeing this Grafana has failed to load its application files This could be caused by your reverse proxy settings. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build Sometimes restarting grafana-server can help
- 错误翻译
如果您看到此Grafana未能加载其应用程序文件 1.这可能是由您的反向代理设置引起的。 ⒉如果您在子路径下托管grafana,请确保您的grafana.ini root_url设置包含子路径 3.如果您有本地开发版本,请确保您使用以下方式构建前端: yarn start、yarn starthot 或yarn build 4.有时重新启动grafana -server可以提供帮助
- 2.png
- 解决方法
- nginx的配置中
proxy_pass http://localhost:3000/;#后面不加斜杠,就会出现上面的情况
【nginx反向代理Grafana报错】
开始
完结