Guest User

/etc/nginx/nginx.conf

a guest
May 25th, 2017
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. user nginx;
  2. worker_processes 2;
  3.  
  4. error_log /var/log/nginx/error.log;
  5.  
  6. pid /run/nginx.pid;
  7.  
  8. events {
  9. worker_connections 1024;
  10. }
  11.  
  12. http {
  13. include /etc/nginx/mime.types;
  14. default_type application/octet-stream;
  15.  
  16. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  17. '$status $body_bytes_sent "$http_referer" '
  18. '"$http_user_agent" "$http_x_forwarded_for"';
  19.  
  20. access_log /var/log/nginx/access.log main;
  21.  
  22. sendfile on;
  23.  
  24. keepalive_timeout 65;
  25.  
  26. include /etc/nginx/conf.d/*.conf;
  27.  
  28. index index.html index.htm;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment