nginx.conf 818 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. user www-data;
  2. worker_processes 1;
  3. pid /var/run/nginx.pid;
  4. events {
  5. multi_accept on;
  6. worker_connections 1024;
  7. }
  8. http {
  9. gzip on;
  10. gzip_vary on;
  11. gzip_comp_level 5;
  12. gzip_types text/plain application/x-javascript text/xml text/css;
  13. autoindex on;
  14. sendfile on;
  15. tcp_nopush on;
  16. tcp_nodelay on;
  17. keepalive_timeout 65;
  18. types_hash_max_size 2048;
  19. server_tokens off;
  20. include /etc/nginx/mime.types;
  21. default_type application/octet-stream;
  22. access_log /var/log/nginx/access.log;
  23. error_log /var/log/nginx/error.log;
  24. client_max_body_size 32M;
  25. client_header_buffer_size 8m;
  26. large_client_header_buffers 8 8m;
  27. fastcgi_buffer_size 8m;
  28. fastcgi_buffers 8 8m;
  29. fastcgi_read_timeout 600;
  30. include /etc/nginx/conf.d/*.conf;
  31. }