Advertisement
dimti

nginx

Jun 17th, 2016
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1.  
  2. worker_processes 4;
  3.  
  4. events {
  5. worker_connections 1024;
  6. }
  7.  
  8. http {
  9. upstream php {
  10. server unix:/run/php-fpm/php-fpm.sock;
  11. }
  12. upstream php56 {
  13. server unix:/run/php56-fpm/php-fpm.sock;
  14. }
  15. include mime.types;
  16. default_type application/octet-stream;
  17.  
  18. sendfile on;
  19. keepalive_timeout 65;
  20.  
  21. gzip on;
  22. gzip_comp_level 6;
  23. gzip_http_version 1.1;
  24. gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  25. gzip_disable "msie6";
  26.  
  27. etag on;
  28.  
  29. client_header_timeout 3000;
  30. client_body_timeout 3000;
  31. fastcgi_read_timeout 3000;
  32. client_max_body_size 32m;
  33. fastcgi_buffers 8 128k;
  34. fastcgi_buffer_size 128k;
  35. include vhosts.d/*;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement