aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/lua_script.conf
blob: 2bde672fe38b54bd49a91583dd8221c38d3d8ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
options = {
    pidfile = "${TMPDIR}/rspamd.pid"
}
logging = {
    type = "file",
    level = "debug"
    filename = "${TMPDIR}/rspamd.log"
}

worker {
    type = normal
    bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
    count = 1
    task_timeout = 60s;
}
worker {
    type = controller
    bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER}
    count = 1
    secure_ip = ["127.0.0.1", "::1"];
    stats_path = "${TMPDIR}/stats.ucl"
}

lua = "${TESTDIR}/lua/test_coverage.lua";
lua = ${LUA_SCRIPT};