Filippo Giunchedi has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/306671

Change subject: prometheus: return 204 on /
......................................................................

prometheus: return 204 on /

No reason to try and list root

Change-Id: I7fe93cabb22c2bf979efd3e0c8c93e5d3d877480
---
M modules/prometheus/files/prometheus-nginx.conf
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/71/306671/1

diff --git a/modules/prometheus/files/prometheus-nginx.conf 
b/modules/prometheus/files/prometheus-nginx.conf
index 8a3617b..6aa5726 100644
--- a/modules/prometheus/files/prometheus-nginx.conf
+++ b/modules/prometheus/files/prometheus-nginx.conf
@@ -4,6 +4,10 @@
 
     root /var/www/html;
 
+    location / {
+        return 204;
+    }
+
     server_name prometheus.* prometheus-*.*;
 
     include /etc/prometheus-nginx/*.conf;

-- 
To view, visit https://gerrit.wikimedia.org/r/306671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7fe93cabb22c2bf979efd3e0c8c93e5d3d877480
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to