env REDIS_HOST;
env REDIS_PORT;

worker_processes  4;

events {
    worker_connections  1024;
}

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

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    log_format  main  '[$time_iso8601] "$request" $status $body_bytes_sent';

    access_log off;
    sendfile_max_chunk 512k;
    sendfile        on;
    tcp_nopush     on;

    keepalive_timeout  65;

    gzip  off;

    include /etc/nginx/conf.d/*.conf;
}
