nginx.conf 520 B

1234567891011121314151617181920212223242526272829
  1. user www-data;
  2. worker_processes 4;
  3. pid /run/nginx.pid;
  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. include /etc/nginx/mime.types;
  17. default_type application/octet-stream;
  18. access_log off;
  19. error_log off;
  20. gzip on;
  21. gzip_disable "msie6";
  22. include /etc/nginx/conf.d/*.conf;
  23. include /etc/nginx/sites-available/*;
  24. open_file_cache max=100;
  25. }
  26. daemon off;