user nginx; worker_processes auto; worker_rlimit_nofile 100000; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 4096; multi_accept on; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main 'no ip - [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; map $request_method $limit { default ""; POST $binary_remote_addr; } gzip on; gzip_vary on; gzip_comp_level 6; gzip_min_length 1000; gzip_proxied any; gzip_types text/plain application/x-javascript application/javascript text/xml text/css application/xml application/json; include /etc/nginx/conf.d/*.conf; }