Advertisement
Guest User

Untitled

a guest
Apr 6th, 2014
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. [nir0@spear ~]$ cat /etc/nginx/nginx.conf
  2. user www-data;
  3. worker_processes 1;
  4.  
  5. error_log /var/log/nginx/error.log;
  6. pid /var/run/nginx.pid;
  7.  
  8. events {
  9. worker_connections 1024;
  10. # multi_accept on;
  11. }
  12.  
  13. http {
  14. include /etc/nginx/mime.types;
  15.  
  16. access_log /var/log/nginx/access.log;
  17.  
  18. sendfile on;
  19. #tcp_nopush on;
  20.  
  21. #keepalive_timeout 0;
  22. keepalive_timeout 65;
  23. tcp_nodelay on;
  24.  
  25. gzip on;
  26. gzip_disable "MSIE [1-6]\.(?!.*SV1)";
  27.  
  28. include /etc/nginx/conf.d/*.conf;
  29. include /etc/nginx/sites-enabled/*;
  30. }
  31.  
  32. # mail {
  33. # # See sample authentication script at:
  34. # # http://wiki.nginx.org/NginxImapAuthenticateWithApachePhpScript
  35. #
  36. # # auth_http localhost/auth.php;
  37. # # pop3_capabilities "TOP" "USER";
  38. # # imap_capabilities "IMAP4rev1" "UIDPLUS";
  39. #
  40. # server {
  41. # listen localhost:110;
  42. # protocol pop3;
  43. # proxy on;
  44. # }
  45. #
  46. # server {
  47. # listen localhost:143;
  48. # protocol imap;
  49. # proxy on;
  50. # }
  51. # }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement