worker_processes  1;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;
    tcp_nopush     on;

    keepalive_timeout  65;

    gzip  on;

    server {
        listen 80;

        root /mnt/downloads;

        gzip_static off;
        gzip_types *;

        autoindex on;
        autoindex_exact_size off;
    }
}