aboutsummaryrefslogtreecommitdiffstats
path: root/conf/worker-proxy.inc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-06 16:07:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-06 16:07:59 +0100
commit9a5bc94e55cbfffd3db5e31fb492d751bfbedf0c (patch)
treef8f0314652c6a43e65f417c3c88e7dfc2f0a8a2f /conf/worker-proxy.inc
parentb5f8ca27684bf935273e5fbb943cf1b95aad1169 (diff)
downloadrspamd-9a5bc94e55cbfffd3db5e31fb492d751bfbedf0c.tar.gz
rspamd-9a5bc94e55cbfffd3db5e31fb492d751bfbedf0c.zip
[Conf] Add rspamd_proxy to the default configuration set
Diffstat (limited to 'conf/worker-proxy.inc')
-rw-r--r--conf/worker-proxy.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/worker-proxy.inc b/conf/worker-proxy.inc
new file mode 100644
index 000000000..1047fd87f
--- /dev/null
+++ b/conf/worker-proxy.inc
@@ -0,0 +1,13 @@
+# Included from top-level .conf file
+
+type = "proxy";
+
+milter = yes; # Enable milter mode
+timeout = 120s; # Needed for Milter usually
+
+upstream "local" {
+ default = yes;
+ hosts = "localhost";
+}
+
+count = 1; # Do not spawn too many processes of this type