Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1.  
  2.  
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13
  16. 14
  17. 15
  18. 16
  19. 17
  20. 18
  21. 19
  22. 20
  23. 21
  24. 22
  25. 23
  26. 24
  27. 25
  28. 26
  29. 27
  30. 28
  31. 29
  32. 30
  33. 31
  34. 32
  35. 33
  36. 34
  37. 35
  38. 36
  39. 37
  40. 38
  41. 39
  42. 40
  43. 41
  44. 42
  45. 43
  46. 44
  47. 45
  48. 46
  49. 47
  50. 48
  51. 49
  52. 50
  53. 51
  54. 52
  55. 53
  56. 54
  57. 55
  58. 56
  59. 57
  60. 58
  61. 59
  62. 60
  63. 61
  64. 62
  65. 63
  66. 64
  67. 65
  68. 66
  69. 67
  70. 68
  71. 69
  72. 70
  73. 71
  74. 72
  75. 73
  76. 74
  77. 75
  78. 76
  79. 77
  80. 78
  81. 79
  82. 80
  83. 81
  84. 82
  85. 83
  86. 84
  87. 85
  88. user www-data;
  89. worker_processes auto;
  90. pid /run/nginx.pid;
  91.  
  92. events {
  93. worker_connections 768;
  94. # multi_accept on;
  95. }
  96.  
  97. http {
  98.  
  99. ##
  100. # Basic Settings
  101. ##
  102.  
  103. sendfile on;
  104. tcp_nopush on;
  105. tcp_nodelay on;
  106. keepalive_timeout 65;
  107. types_hash_max_size 2048;
  108. # server_tokens off;
  109.  
  110. # server_names_hash_bucket_size 64;
  111. # server_name_in_redirect off;
  112.  
  113. include /etc/nginx/mime.types;
  114. default_type application/octet-stream;
  115.  
  116. ##
  117. # SSL Settings
  118. ##
  119.  
  120. ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
  121. ssl_prefer_server_ciphers on;
  122.  
  123. ##
  124. # Logging Settings
  125. ##
  126.  
  127. access_log /var/log/nginx/access.log;
  128. error_log /var/log/nginx/error.log;
  129.  
  130. ##
  131. # Gzip Settings
  132. ##
  133.  
  134. gzip on;
  135. gzip_disable "msie6";
  136.  
  137. # gzip_vary on;
  138. # gzip_proxied any;
  139. # gzip_comp_level 6;
  140. # gzip_buffers 16 8k;
  141. # gzip_http_version 1.1;
  142. # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
  143.  
  144. ##
  145. # Virtual Host Configs
  146. ##
  147.  
  148. include /etc/nginx/conf.d/*.conf;
  149. include /etc/nginx/sites-enabled/*;
  150. }
  151.  
  152.  
  153. #mail {
  154. # # See sample authentication script at:
  155. # # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
  156. #
  157. # # auth_http localhost/auth.php;
  158. # # pop3_capabilities "TOP" "USER";
  159. # # imap_capabilities "IMAP4rev1" "UIDPLUS";
  160. #
  161. # server {
  162. # listen localhost:110;
  163. # protocol pop3;
  164. # proxy on;
  165. # }
  166. #
  167. # server {
  168. # listen localhost:143;
  169. # protocol imap;
  170. # proxy on;
  171. # }
  172. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement