services.grafana.settings.server.serve_from_sub_path
Serve Grafana from subpath specified in the root_url setting.
By default it is set to false for compatibility reasons.
By enabling this setting and using a subpath in root_url above,
e.g. root_url = "http://localhost:3000/grafana",
Grafana is accessible on http://localhost:3000/grafana.
If accessed without subpath, Grafana will redirect to an URL with the subpath.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/services/monitoring/grafana.nix>