summaryrefslogtreecommitdiffstats
path: root/test/functional/configs/lua_script.conf
blob: 8798bff37ef4cd689b7baf1dd878c4a7dbf18a7c (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 = "{= env.TMPDIR =}/rspamd.pid"
}
logging = {
    type = "file",
    level = "debug"
    filename = "{= env.TMPDIR =}/rspamd.log"
}

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

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