Skip to content
Snippets Groups Projects
Commit 79524db4 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Force a certain public address for the server

This is used in constructing the Google OAuth2 login callback URL and has to
match what's configured in Google - also helps if it is actually the address
of the server.
parent abd3004d
No related branches found
No related tags found
3 merge requests!140Merge staging into production,!122Merge develop into staging,!120Add GSuite SSO to Grafana
...@@ -70,6 +70,12 @@ in { ...@@ -70,6 +70,12 @@ in {
# No phoning home # No phoning home
analytics.reporting.enable = false; analytics.reporting.enable = false;
# Force Grafana to believe it is reachable via https on the default port
# number because that's where the nginx that forwards traffic to it is
# listening. Grafana's own server listens on an internal address that
# doesn't matter to anyone except our nginx instance.
rootUrl = "https://%(domain)s/";
}; };
services.grafana.auth = { services.grafana.auth = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment