summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2020-05-20 20:24:23 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2020-05-20 20:24:34 +0200
commit540fd3f141706976a3d1a56aba21811caa6bd007 (patch)
tree570c7bde0bb4654cd60b5f30085af5ce5d599ca5
parentb02ba06b5d7dba61bb535732eb844d2097eeb1cc (diff)
downloadpillar-540fd3f141706976a3d1a56aba21811caa6bd007.tar.xz
prometheus requires the suffix in proxy_pass as well
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nginx/theos_kyriasis_com.sls2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/theos_kyriasis_com.sls b/nginx/theos_kyriasis_com.sls
index 30054b3..61d3d41 100644
--- a/nginx/theos_kyriasis_com.sls
+++ b/nginx/theos_kyriasis_com.sls
@@ -88,7 +88,7 @@ nginx:
- proxy_set_header: X-Forwarded-Host $server_name
- location /prometheus/:
- - proxy_pass: http://localhost:9090/
+ - proxy_pass: http://localhost:9090/prometheus/
- location /rspamd/:
- proxy_pass: http://localhost:11334/