Advertisement
Guest User

Untitled

a guest
Dec 5th, 2012
1,406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. user www-data;
  2. worker_processes 1;
  3. pid /var/run/nginx.pid;
  4.  
  5. events {
  6. worker_connections 1024;
  7. # multi_accept on;
  8. }
  9.  
  10. http {
  11.  
  12. ##CUSTOM
  13. port_in_redirect off;
  14. client_header_timeout 10m;
  15. client_body_timeout 10m;
  16. send_timeout 10m;
  17. client_max_body_size 700m;
  18. connection_pool_size 256;
  19. client_body_buffer_size 1024k;
  20. client_header_buffer_size 8k;
  21. fastcgi_read_timeout 300;
  22. fastcgi_send_timeout 300;
  23. open_file_cache max=1000 inactive=20s;
  24. open_file_cache_valid 30s;
  25. open_file_cache_min_uses 2;
  26. open_file_cache_errors on;
  27.  
  28.  
  29. ##
  30. # Basic Settings
  31. ##
  32.  
  33. sendfile on;
  34. tcp_nopush on;
  35. tcp_nodelay on;
  36.  
  37. keepalive_timeout 10;
  38. #keepalive_requests 30;
  39.  
  40. types_hash_max_size 2048;
  41. # server_tokens off;
  42.  
  43. # server_names_hash_bucket_size 64;
  44. # server_name_in_redirect off;
  45.  
  46. include /etc/nginx/mime.types;
  47. default_type application/octet-stream;
  48.  
  49. ##
  50. # Logging Settings
  51. ##
  52.  
  53. #access_log /var/log/nginx/access.log;
  54. access_log off;
  55. error_log /var/log/nginx/error.log;
  56. #error_log off;
  57.  
  58. ##
  59. # Gzip Settings
  60. ##
  61.  
  62. gzip on;
  63. gzip_disable "msie6";
  64.  
  65. include /etc/nginx/conf.d/*.conf;
  66. include /etc/nginx/sites-enabled/*;
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement