Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. # For more information on configuration, see:
  2. # * Official English Documentation: http://nginx.org/en/docs/
  3. # * Official Russian Documentation: http://nginx.org/ru/docs/
  4.  
  5. user nginx;
  6. worker_processes 1;
  7.  
  8. error_log /var/log/nginx/error.log;
  9. #error_log /var/log/nginx/error.log notice;
  10. #error_log /var/log/nginx/error.log info;
  11.  
  12. pid /var/run/nginx.pid;
  13.  
  14.  
  15. events {
  16. worker_connections 1024;
  17. }
  18.  
  19.  
  20. http {
  21. include /etc/nginx/mime.types;
  22. include /etc/nginx/sites-enabled/*;
  23. default_type application/octet-stream;
  24.  
  25. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  26. '$status $body_bytes_sent "$http_referer" '
  27. '"$http_user_agent" "$http_x_forwarded_for"';
  28.  
  29. access_log /var/log/nginx/access.log main;
  30.  
  31. sendfile on;
  32. #tcp_nopush on;
  33.  
  34. #keepalive_timeout 0;
  35. keepalive_timeout 65;
  36.  
  37. #gzip on;
  38.  
  39. # Load config files from the /etc/nginx/conf.d directory
  40. # The default server is in conf.d/default.conf
  41. include /etc/nginx/conf.d/*.conf;
  42.  
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement