Advertisement
Guest User

Untitled

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