Loading nixos/modules/services/monitoring/grafana.nix +5 −2 Original line number Diff line number Diff line Loading @@ -985,10 +985,13 @@ in x_xss_protection = mkOption { description = '' Set to `false` to disable the `X-XSS-Protection` header, Set to `true` to enable the `X-XSS-Protection` header, which tells browsers to stop pages from loading when they detect reflected cross-site scripting (XSS) attacks. __Note:__ this is the default in Grafana, it's turned off here since it's [recommended to not use this header anymore](https://owasp.org/www-project-secure-headers/#x-xss-protection). ''; default = true; default = false; type = types.bool; }; Loading Loading
nixos/modules/services/monitoring/grafana.nix +5 −2 Original line number Diff line number Diff line Loading @@ -985,10 +985,13 @@ in x_xss_protection = mkOption { description = '' Set to `false` to disable the `X-XSS-Protection` header, Set to `true` to enable the `X-XSS-Protection` header, which tells browsers to stop pages from loading when they detect reflected cross-site scripting (XSS) attacks. __Note:__ this is the default in Grafana, it's turned off here since it's [recommended to not use this header anymore](https://owasp.org/www-project-secure-headers/#x-xss-protection). ''; default = true; default = false; type = types.bool; }; Loading