Advertisement
Guest User

Untitled

a guest
Jul 14th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. user www-data;
  2. error_log /var/log/nginx/error.log debug;
  3. pid /var/run/nginx.pid;
  4. worker_rlimit_nofile 80000;
  5.  
  6. events {
  7. worker_connections 2048;
  8. }
  9.  
  10. http {
  11. include /etc/nginx/mime.types;
  12. default_type application/octet-stream;
  13. access_log /var/log/nginx/access.log;
  14. sendfile on;
  15. #tcp_nopush on;
  16. keepalive_timeout 400;
  17. tcp_nodelay on;
  18. proxy_read_timeout 900;
  19. client_header_timeout 10m;
  20. client_body_timeout 10m;
  21. send_timeout 10m;
  22. client_max_body_size 16m;
  23.  
  24.  
  25. include /etc/nginx/conf.d/*.conf;
  26. include /etc/nginx/sites-enabled/*;
  27. include /etc/nginx/phpmyadmin.conf;
  28.  
  29.  
  30. ##
  31. # Gzip Settings
  32. ##
  33. gzip on;
  34. gzip_disable "msie6";
  35. gzip_vary on;
  36. gzip_proxied any;
  37. gzip_comp_level 6;
  38. gzip_buffers 16 8k;
  39. gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement