nginx.conf 490 B

123456789101112131415161718192021222324252627
  1. worker_processes 4;
  2. pid /run/nginx.pid;
  3. daemon off;
  4. events {
  5. worker_connections 2048;
  6. multi_accept on;
  7. use epoll;
  8. }
  9. http {
  10. server_tokens off;
  11. sendfile on;
  12. tcp_nopush on;
  13. tcp_nodelay on;
  14. keepalive_timeout 15;
  15. types_hash_max_size 2048;
  16. client_max_body_size 20M;
  17. include /etc/nginx/mime.types;
  18. default_type application/octet-stream;
  19. access_log on;
  20. error_log on;
  21. gzip on;
  22. gzip_disable "msie6";
  23. include /etc/nginx/conf.d/*.conf;
  24. open_file_cache max=100;
  25. }