You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
683 B

  1. user www-data;
  2. worker_processes 4;
  3. worker_priority -10;
  4. pid /var/run/nginx.pid;
  5. worker_rlimit_nofile 65536;
  6. events {
  7. worker_connections 4096;
  8. use epoll;
  9. }
  10. http {
  11. sendfile on;
  12. tcp_nopush on;
  13. tcp_nodelay on;
  14. keepalive_timeout 8;
  15. types_hash_max_size 2048;
  16. server_tokens off;
  17. keepalive_requests 100000;
  18. open_file_cache max=200000 inactive=20s;
  19. open_file_cache_valid 30s;
  20. open_file_cache_min_uses 2;
  21. open_file_cache_errors on;
  22. include /etc/nginx/mime.types;
  23. default_type application/octet-stream;
  24. gzip on;
  25. gzip_disable "msie6";
  26. #include /etc/nginx/naxsi_core.rules;
  27. include /etc/nginx/conf.d/*.conf;
  28. include /etc/nginx/sites-enabled/*;
  29. }