diff options
Diffstat (limited to 'test/functional/configs/proxy.conf')
-rw-r--r-- | test/functional/configs/proxy.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/configs/proxy.conf b/test/functional/configs/proxy.conf new file mode 100644 index 000000000..5f40d1593 --- /dev/null +++ b/test/functional/configs/proxy.conf @@ -0,0 +1,18 @@ +options = { + filters = "spf" + pidfile = "${TMPDIR}/rspamd.pid" +} +logging = { + type = "file", + level = "debug" + filename = "${TMPDIR}/rspamd.log" +} +worker "rspamd_proxy" { + bind_socket = "${LOCAL_ADDR}:${PORT_PROXY}"; + upstream { + name = "${LOCAL_ADDR}"; + default = yes; + hosts = "${LOCAL_ADDR}:${PORT_NORMAL}"; + } + count = 1; +} |