Advertisement
PurSiC

nginx

Aug 11th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. user nginx;
  2. worker_processes 1;
  3.  
  4. pid /var/run/nginx.pid;
  5.  
  6. events {
  7. worker_connections 1024;
  8. use epoll;
  9. }
  10.  
  11. http {
  12. include /etc/nginx/mime.types;
  13. default_type application/octet-stream;
  14.  
  15. access_log off;
  16.  
  17. sendfile on;
  18. tcp_nopush on;
  19. tcp_nodelay on;
  20.  
  21. fastcgi_buffers 8 16k;
  22. fastcgi_buffer_size 32k;
  23.  
  24. client_body_buffer_size 10K;
  25. client_header_buffer_size 1k;
  26. client_max_body_size 8m;
  27. large_client_header_buffers 4 32k;
  28.  
  29. client_body_timeout 24;
  30. client_header_timeout 24;
  31. keepalive_timeout 30;
  32. send_timeout 20;
  33.  
  34. gzip on;
  35. gzip_comp_level 2;
  36. gzip_min_length 1000;
  37. gzip_proxied expired no-cache no-store private auth;
  38. gzip_types text/plain application/x-javascript text/xml text/css application/xml;
  39.  
  40. include /etc/nginx/conf.d/*.conf;
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement