diff options
Diffstat (limited to 'test/functional/configs/nginx.conf')
-rw-r--r-- | test/functional/configs/nginx.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/functional/configs/nginx.conf b/test/functional/configs/nginx.conf new file mode 100644 index 0000000..9a27f49 --- /dev/null +++ b/test/functional/configs/nginx.conf @@ -0,0 +1,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; + } + } +} |