aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/proxy.conf
blob: 5f40d1593170d7ed9642798fed0ced8d567bb49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
}