Advertisement
fliker09

/etc/nginx/nginx.conf

Nov 8th, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. worker_processes 4;
  2. pid /run/nginx.pid;
  3.  
  4. events {
  5. worker_connections 1024;
  6. }
  7.  
  8. http {
  9.  
  10. include /etc/nginx/mime.types;
  11. default_type application/octet-stream;
  12.  
  13. access_log /var/log/nginx/access.log;
  14. error_log /var/log/nginx/error.log;
  15.  
  16.  
  17. sendfile on;
  18.  
  19. gzip on;
  20. gzip_http_version 1.0;
  21. gzip_proxied any;
  22. gzip_min_length 500;
  23. gzip_disable "MSIE [1-6]\.";
  24. gzip_types text/plain
  25. text/xml
  26. text/css
  27. text/comma-separated-values
  28. text/javascript
  29. application/javascript
  30. application/json
  31. application/x-javascript
  32. application/atom+xml;
  33.  
  34. include /etc/nginx/conf.d/*.conf;
  35. include /etc/nginx/sites-enabled/*;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement