[Test] Fix config

This commit is contained in:
Vsevolod Stakhov 2018-06-13 14:45:17 +01:00
parent d133232f34
commit 378a1f21a3

View File

@ -4,17 +4,16 @@ worker_processes 1;
pid ${TMPDIR}/nginx.pid; pid ${TMPDIR}/nginx.pid;
error_log ${TMPDIR}/error.log; error_log ${TMPDIR}/error.log;
http { http {
include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
sendfile on; sendfile on;
server { server {
# no need for root privileges # no need for root privileges
listen ${NGINX_ADDR}:${NGINX_PORT}; listen ${NGINX_ADDR}:${NGINX_PORT};
server_name localhost server_name localhost;
location / { location / {
root ${TMPDIR} root ${TMPDIR};
autoindex on; autoindex on;
} }
} }