summaryrefslogtreecommitdiffstats
path: root/test/functional/configs/nginx.conf
blob: 9a27f492486e3d248d3a9196a9a1c864f098a82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
events {
}
worker_processes  1;
pid   ${RSPAMD_TMPDIR}/nginx.pid;
error_log  ${RSPAMD_TMPDIR}/error.log;
http {
    default_type application/octet-stream;
    sendfile     on;

    server {
        # no need for root privileges
        listen      ${NGINX_ADDR}:${NGINX_PORT};
        server_name localhost;

        location / {
            root      ${RSPAMD_TMPDIR};
            autoindex on;
        }
    }
}