-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indirect proxy mode uses http:// links #136
Comments
I know its a small thing, but why you dont set the protocol to https for the module? |
The protocol is set to https. ===== /etc/icingaweb2/modules/grafana/config.ini
|
Indirect uses pictures as reference from a controller inside same module, rest is exactly the same code. So if you use https to access icingaweb2 it will pull the graphs by crontroller over https (https://host/icingweb2/grafana/img....), the controller will fetch the image from grafana with the configured protocol. So there is no possible way to pull pictures via http from grafana if you configured https. If you enable debug mode you will see how it is fetching images. Best regards, |
Hi, Experiencing the same here. It appears on my side that in library/Grafana/ProvidedHook/Grapher.php line 352 and after, |
Expected Behavior
Graphs are rendered using https:// links.
Current Behavior
Graphs are rendered using http:// links.
Your Environment
Icinga Web 2 Grafana version (System - About): 1.2.1
Icinga Web 2 version and modules (System - About): 2.5.1
Version used (icinga2 --version): 2.8.1
Operating System and version: CentOS 7
=====
When using indirect proxy mode, our external grafana instance is connected using http://. This causes mixed content in Firefox for example.
If the link is curled from a shell, there's a proper 302 to redirect to https://.
The text was updated successfully, but these errors were encountered: