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
No related merge requests found
......@@ -70,6 +70,12 @@ in {
# No phoning home
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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment