Advertisement
Guest User

Untitled

a guest
May 23rd, 2011
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. user www-data;
  2. worker_processes 4;
  3. pid /var/run/nginx.pid;
  4.  
  5. events {
  6. worker_connections 768;
  7. # multi_accept on;
  8. }
  9.  
  10. http {
  11.  
  12. ##
  13. # Basic Settings
  14. ##
  15. sendfile on;
  16. tcp_nopush on;
  17. tcp_nodelay on;
  18. keepalive_timeout 65;
  19. types_hash_max_size 2048;
  20. # server_tokens off;
  21.  
  22. # server_names_hash_bucket_size 64;
  23. # server_name_in_redirect off;
  24.  
  25. include /etc/nginx/mime.types;
  26. default_type application/octet-stream;
  27. ##
  28. # Logging Settings
  29. ##
  30.  
  31. access_log /var/log/nginx/access.log;
  32. error_log /var/log/nginx/error.log;
  33.  
  34. ##
  35. # Gzip Settings
  36. ##
  37.  
  38. gzip on;
  39. gzip_disable "msie6";
  40.  
  41. # gzip_vary on;
  42. # gzip_proxied any;
  43. # gzip_comp_level 6;
  44. # gzip_buffers 16 8k;
  45. # gzip_http_version 1.1;
  46. # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  47.  
  48. ##
  49. # Virtual Host Configs
  50. ##
  51. client_max_body_size 20M;
  52. client_body_buffer_size 128k;
  53.  
  54. include /etc/nginx/conf.d/*.conf;
  55. include /etc/nginx/sites-enabled/*;
  56. }
  57.  
  58.  
  59. #mail {
  60. # # See sample authentication script at:
  61. # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  62. #
  63. # # auth_http localhost/auth.php;
  64. # # pop3_capabilities "TOP" "USER";
  65. # # imap_capabilities "IMAP4rev1" "UIDPLUS";
  66. #
  67. # server {
  68. # listen localhost:110;
  69. # protocol pop3;
  70. # proxy on;
  71. # }
  72. #
  73. # server {
  74. # listen localhost:143;
  75. # protocol imap;
  76. # proxy on;
  77. # }
  78. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement