HomeDevCentral

Set correct Grafana URL

Description

Set correct Grafana URL

Summary:
The parameters domain and root_url are useful when behind a reverse proxy
to indicate Grafana how to serve URL like redirections.

For example, when asking to generate a short URL:

  • without any configuration, it uses socket://localhost:3000/goto/
  • with domain set, it uses socket://grafana.nasqueron.org:3000/goto/
  • with root_url set it correctly uses https://grafana.nasqueron.org/goto/

References:

Ref T651

Test Plan: Ask to share a dashboard, then shorten URL

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T651

Differential Revision: https://devcentral.nasqueron.org/D3380

Details

Provenance
derecksonAuthored on Jul 27 2024, 13:57
derecksonPushed on Jul 27 2024, 13:58
Reviewer
dereckson
Differential Revision
D3380: Set correct Grafana URL
Parents
rOPS91ddc5cc0a67: Move Grafana plugins directory to default location
Branches
Unknown
Tags
Unknown
Tasks
T651: Deploy Grafana