bestway

Untitled

May 16th, 2012
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1.  
  2. # cPanel Nginx Master configuration
  3. user nobody;
  4. error_log logs/error.log;
  5. #Number of worker you need
  6. worker_processes 1;
  7. # How many connections a worker can handle maximum.
  8. events {
  9. worker_connections 50000;
  10. }
  11. http {
  12. include mime.types;
  13. default_type application/octet-stream;
  14. sendfile on;
  15. server_names_hash_max_size 10000;
  16. server_names_hash_bucket_size 1024;
  17. tcp_nopush on;
  18. tcp_nodelay on;
  19. keepalive_timeout 10;
  20. gzip on;
  21. gzip_min_length 1100;
  22. gzip_buffers 4 32k;
  23. gzip_types text/plain application/x-javascript text/xml text/css;
  24. ignore_invalid_headers on;
  25. client_header_timeout 3m;
  26. client_body_timeout 3m;
  27. send_timeout 3m;
  28. include "/usr/local/nginx/conf/vhost.conf";
  29. include "/etc/cpnginx/cpanelproxy.conf";
  30. }
Add Comment
Please, Sign In to add comment