Debian Codegraph @

test/functional/configs/nginx.conf

raw
1 events {
2 }
3 worker_processes 1;
4 pid ${RSPAMD_TMPDIR}/nginx.pid;
5 error_log ${RSPAMD_TMPDIR}/error.log;
6 http {
7 default_type application/octet-stream;
8 sendfile on;
9
10 server {
11 # no need for root privileges
12 listen ${NGINX_ADDR}:${NGINX_PORT};
13 server_name localhost;
14
15 location / {
16 root ${RSPAMD_TMPDIR};
17 autoindex on;
18 }
19 }
20 }