Advertisement
Guest User

Untitled

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