Guest User

Untitled

a guest
Jul 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. # КОнфиг статики i.iapple.ru
  2. server {
  3.  
  4. listen 90.156.236.44:80;
  5. server_name *.i.iapple.ru;
  6.  
  7. root /home/webmaster/www/i.v-avto.ru;
  8. charset utf-8;
  9. error_log /home/webmaster/www/i.v-avto.ru/error.log;
  10. access_log /home/webmaster/www/i.v-avto.ru/access.log;
  11.  
  12. # types {
  13. # application/xml xml;
  14. # image/jpeg jpg;
  15. # image/png png;
  16. # image/x-icon ico;
  17. # text/css css;
  18. # text/html html;
  19. # text/plain bob;
  20. # text/plain txt;
  21. # }
  22.  
  23. default_type application/octet-stream;
  24.  
  25. ## Size Limits
  26. client_body_buffer_size 4k; # 16k
  27. client_header_buffer_size 1k; # 1k
  28. client_max_body_size 1k; # 1k
  29. large_client_header_buffers 1 1k; # 1 1k
  30.  
  31. ## Timeouts
  32. client_body_timeout 30;
  33. client_header_timeout 30;
  34. keepalive_timeout 60 60; # 5 5
  35. send_timeout 30;
  36.  
  37. ## General Options
  38. ignore_invalid_headers on;
  39. keepalive_requests 60;
  40. recursive_error_pages on;
  41. server_name_in_redirect off;
  42. sendfile on;
  43.  
  44. ## TCP options
  45. tcp_nopush on;
  46. tcp_nodelay off;
  47.  
  48. ## Compression
  49. gzip off;
  50. # gzip_static on;
  51. # gzip_buffers 16 8k;
  52. # gzip_http_version 1.0;
  53. # gzip_comp_level 6;
  54. # gzip_min_length 100;
  55. # gzip_types text/plain text/javascript application/x-javascript text/css;
  56. # gzip_vary on;
  57.  
  58. location / {
  59. # aio on;
  60. # directio 512;
  61. # output_buffers 1 128k;
  62. expires 7d;
  63. root /home/webmaster/www/i.v-avto.ru;
  64. }
  65.  
  66. error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
  67. 500 501 502 503 504 505 /404.html;
  68.  
  69. location /404.html {
  70. root /home/webmaster/www/v-avto.ru/public;
  71. }
  72.  
  73. }
Add Comment
Please, Sign In to add comment