services.grafana.settings.server.serve_from_sub_path
NixOS option
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: booleanDefault
declared in: nixos/modules/services/monitoring/grafana.nixView source on NixOS/nixpkgs →false