aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/proxy.conf
blob: 01217c113cb427ca6e4fa122a825b489f99e360e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
options = {
	filters = "spf"
	pidfile = "${TMPDIR}/rspamd.pid"
	dns {
		retransmits = 10;
		timeout = 2s;
	}
}
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;
}
lua = "${TESTDIR}/lua/test_coverage.lua";