From b02ba06b5d7dba61bb535732eb844d2097eeb1cc Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 20 May 2020 20:22:05 +0200 Subject: Add prometheus location to nginx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/theos_kyriasis_com.sls | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nginx') 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 -- cgit v1.2.3-70-g09d2