user nginx; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } http { default_type application/octet-stream; server { listen 80; location / { root /usr/share/nginx/repo; autoindex on; sendfile on; tcp_nopush on; } } }