Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user www www;
- worker_processes 48;
- worker_cpu_affinity auto;
- worker_rlimit_nofile 600000; #2 filehandlers for each connection
- error_log /var/log/nginx-error.log warn;
- events {
- worker_connections 32768;
- multi_accept on;
- accept_mutex off;
- use kqueue;
- kqueue_changes 2048;
- }
- http {
- server_names_hash_max_size 10240;
- server_names_hash_bucket_size 2048;
- add_header X-XSS-Protection "1; mode=block";
- include mime.types;
- default_type application/octet-stream;
- keepalive_requests 200;
- client_max_body_size 4096M;
- client_body_buffer_size 2048M;
- output_buffers 1 512k;
- sendfile_max_chunk 512k;
- open_file_cache max=10000 inactive=999s;
- open_file_cache_valid 60s;
- open_file_cache_min_uses 2;
- open_file_cache_errors on;
- client_header_buffer_size 256k;
- large_client_header_buffers 4 256k;
- server_tokens off; #Conceals nginx version
- # access_log off;
- access_log /var/log/nginx-access.log;
- sendfile on;
- tcp_nodelay on;
- tcp_nopush on;
- client_header_timeout 30s;
- client_body_timeout 30s;
- send_timeout 30s;
- keepalive_timeout 0;
- reset_timedout_connection on;
- fastcgi_connect_timeout 30s;
- fastcgi_send_timeout 30s;
- fastcgi_read_timeout 60s;
- proxy_read_timeout 60s;
- fastcgi_ignore_client_abort on;
- fastcgi_buffer_size 64k;
- fastcgi_buffers 16 64k;
- fastcgi_temp_file_write_size 256k;
- fastcgi_max_temp_file_size 2048m;
- ssl_session_cache shared:SSL:10m;
- ssl_session_timeout 10m;
- gzip off;
- gzip_vary on;
- gzip_disable "MSIE [1-6]\.";
- gzip_proxied any;
- gzip_http_version 1.0;
- gzip_min_length 1280;
- gzip_comp_level 6;
- gzip_buffers 16 8k;
- gzip_types text/plain text/xml text/css application/x-javascript image/png image/x-icon image/gif image/jpeg image/jpg application/xml
- application/xml+rss text/javascr ipt application/atom+xml;
- include /usr/local/etc/nginx/vhosts/*.conf;
- # include qwilt_users.inc;
- # include qwilt_users_http.inc;
- include spam.inc;
- }
RAW Paste Data