summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2020-05-20 20:22:05 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2020-05-20 20:22:05 +0200
commitb02ba06b5d7dba61bb535732eb844d2097eeb1cc (patch)
tree585cd5ddece0357eec3b9a508c1a8626d82eb345
parentf4e687c228b7200dd54c9124003bfb32f93beee0 (diff)
downloadpillar-b02ba06b5d7dba61bb535732eb844d2097eeb1cc.tar.xz
Add prometheus location to nginx
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nginx/theos_kyriasis_com.sls3
1 files changed, 3 insertions, 0 deletions
diff --git a/nginx/theos_kyriasis_com.sls b/nginx/theos_kyriasis_com.sls
index d6d4932..30054b3 100644
--- a/nginx/theos_kyriasis_com.sls
+++ b/nginx/theos_kyriasis_com.sls
@@ -87,6 +87,9 @@ nginx:
- proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for
- proxy_set_header: X-Forwarded-Host $server_name
+ - location /prometheus/:
+ - proxy_pass: http://localhost:9090/
+
- location /rspamd/:
- proxy_pass: http://localhost:11334/
- proxy_set_header: Host $host