Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 14th, 2011  |  syntax: None  |  size: 1.02 KB  |  views: 185  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. user                    nginx;
  2. worker_processes        2;
  3. error_log               /var/log/nginx/error.log;
  4. pid                     /var/run/nginx.pid;
  5.  
  6.  
  7. events {
  8.         worker_connections  1024;
  9.         use epoll;
  10. }
  11.  
  12. http {
  13.         include                         /etc/nginx/mime.types;
  14.         default_type                    application/octet-stream;
  15.         server_tokens                   off;
  16.         client_max_body_size            5M;
  17.         client_body_buffer_size         2M;
  18.         client_body_in_single_buffer    on;
  19.         client_header_buffer_size       128k;
  20.         large_client_header_buffers     8 64k;
  21.         open_file_cache                 max=1000 inactive=7200s;
  22.         fastcgi_connect_timeout         60;
  23.         fastcgi_send_timeout            180;
  24.         fastcgi_read_timeout            180;
  25.         fastcgi_buffer_size             128k;
  26.         fastcgi_buffers                 4 256k;
  27.         fastcgi_busy_buffers_size       256k;
  28.         fastcgi_temp_file_write_size    256k;
  29. #       fastcgi_intercept_errors        on;
  30.  
  31.         log_format                      main    '$remote_addr - $remote_user [$time_local] "$request" '
  32.                                                 '$status $body_bytes_sent "$http_referer" '
  33.                                                 '"$http_user_agent"';
  34.  
  35.         access_log                      /var/log/nginx/access.log main;
  36.         sendfile                        on;
  37.         #tcp_nopush                     on;
  38.  
  39.         keepalive_timeout 65;
  40.  
  41.         include                         /etc/nginx/conf.d/*.conf;
  42. }