Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. ##
  2. # Basic Settings
  3. ##
  4.  
  5. sendfile on;
  6. tcp_nopush on;
  7. tcp_nodelay on;
  8. keepalive_timeout 65;
  9. types_hash_max_size 2048;
  10. # server_tokens off;
  11.  
  12. # server_names_hash_bucket_size 64;
  13. # server_name_in_redirect off;
  14.  
  15. include /etc/nginx/mime.types;
  16. default_type application/octet-stream;
  17.  
  18. ##
  19. # SSL Settings
  20. ##
  21.  
  22. ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
  23. ssl_prefer_server_ciphers on;
  24.  
  25. ##
  26. # Logging Settings
  27. ##
  28.  
  29. access_log /var/log/nginx/access.log;
  30. error_log /var/log/nginx/error.log;
  31.  
  32. ##
  33. # Gzip Settings
  34. ##
  35.  
  36. gzip on;
  37. gzip_disable "msie6";
  38.  
  39. # gzip_vary on;
  40. # gzip_proxied any;
  41. # gzip_comp_level 6;
  42. # gzip_buffers 16 8k;
  43. # gzip_http_version 1.1;
  44. # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss
  45.  
  46. # See sample authentication script at:
  47. # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  48.  
  49. # auth_http localhost/auth.php;
  50. # pop3_capabilities "TOP" "USER";
  51. # imap_capabilities "IMAP4rev1" "UIDPLUS";
  52.  
  53. server {
  54. listen localhost:110;
  55. protocol pop3;
  56. proxy on;
  57. }
  58.  
  59. server {
  60. listen localhost:143;
  61. protocol imap;
  62. proxy on;
  63.  
  64. } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement