summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2020-01-24 22:19:57 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2020-01-24 22:19:57 +0100
commitdcf78eb5687adce0ff124aa90df1787a9146bc57 (patch)
tree88b10217a62e719e2f874cd0501fb434e88a9541
parent80f07ad2e9c910faf7acfcff29911aa6974e1802 (diff)
downloadpillar-dcf78eb5687adce0ff124aa90df1787a9146bc57.tar.xz
nginx/theos: Add rspamd
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nginx/theos_kyriasis_com.sls5
1 files changed, 5 insertions, 0 deletions
diff --git a/nginx/theos_kyriasis_com.sls b/nginx/theos_kyriasis_com.sls
index 119106e..34ae2cd 100644
--- a/nginx/theos_kyriasis_com.sls
+++ b/nginx/theos_kyriasis_com.sls
@@ -134,5 +134,10 @@ nginx:
- proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for
- proxy_set_header: X-Forwarded-Host $server_name
+ - location /rspamd/:
+ - proxy_pass: http://localhost:11334/
+ - proxy_set_header: Host $host
+ - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for
+
# vim: ft=yaml et: