Merge pull request #263558 from Ma27/fix-image-renderer-callback
nixos/grafana-image-renderer: use Grafana's http_addr rather than localhost
This commit is contained in:
commit
dbb68f0b49
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ in {
|
|||
|
||||
services.grafana.settings.rendering = mkIf cfg.provisionGrafana {
|
||||
server_url = "http://localhost:${toString cfg.settings.service.port}/render";
|
||||
callback_url = "http://localhost:${toString config.services.grafana.settings.server.http_port}";
|
||||
callback_url = "http://${config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}";
|
||||
};
|
||||
|
||||
services.grafana-image-renderer.chromium = mkDefault pkgs.chromium;
|
||||
|
|
Loading…
Reference in a new issue