services.grafana.settings.security.strict_transport_security
NixOS option
Set to true if you want to enable HTTP Strict-Transport-Security (HSTS) response header. Only use this when HTTPS is enabled in your configuration, or when there is another upstream system that ensures your application does HTTPS (like a frontend load balancer). HSTS tells browsers that the site should only be accessed using HTTPS.
type: booleanDefault
declared in: nixos/modules/services/monitoring/grafana.nixView source on NixOS/nixpkgs →false