From dcf78eb5687adce0ff124aa90df1787a9146bc57 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 24 Jan 2020 22:19:57 +0100 Subject: nginx/theos: Add rspamd 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 | 5 +++++ 1 file changed, 5 insertions(+) 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: -- cgit v1.2.3-70-g09d2