summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-19 16:52:03 +0100
committerGitHub <noreply@github.com>2021-11-19 16:52:03 +0100
commitaa3130f1f7dc8b507ab3573feb96906f95a61568 (patch)
treedb5ee4e32cf562eaff39f7b63d9e6b7d53a5d8ab /nixos
parent935c9a360178470fe59a589d23d17faaa67bb608 (diff)
parent2e75b280a7aac9b490249efb7a78a7fd836787a9 (diff)
downloadnixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.tar
nixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.tar.gz
nixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.tar.bz2
nixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.tar.lz
nixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.tar.xz
nixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.tar.zst
nixpkgs-aa3130f1f7dc8b507ab3573feb96906f95a61568.zip
Merge pull request #146638 from NixOS/mmahut/nginx_bool
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/nginx.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix b/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix
index 5ee8c346be1..3cdd7866bd4 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix
@@ -47,7 +47,7 @@ in
       ExecStart = ''
         ${pkgs.prometheus-nginx-exporter}/bin/nginx-prometheus-exporter \
           --nginx.scrape-uri '${cfg.scrapeUri}' \
-          --nginx.ssl-verify ${toString cfg.sslVerify} \
+          --nginx.ssl-verify ${boolToString cfg.sslVerify} \
           --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
           --web.telemetry-path ${cfg.telemetryPath} \
           --prometheus.const-labels ${concatStringsSep "," cfg.constLabels} \