Light1992

ngix Tagliato

May 24th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 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 /run/nginx.pid;
  13.  
  14.  
  15. events {
  16. worker_connections 1024;
  17. }
  18.  
  19.  
  20. http {
  21. include /etc/nginx/mime.types;
  22. default_type application/octet-stream;
  23.  
  24. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  25. '$status $body_bytes_sent "$http_referer" '
  26. '"$http_user_agent" "$http_x_forwarded_for"';
  27.  
  28. access_log /var/log/nginx/access.log main;
  29.  
  30. sendfile on;
  31. #tcp_nopush on;
  32.  
  33. #keepalive_timeout 0;
  34. keepalive_timeout 65;
  35.  
  36. #gzip on;
  37.  
  38. index index.html index.htm;
  39.  
  40. # Load modular configuration files from the /etc/nginx/conf.d directory.
  41. # See http://nginx.org/en/docs/ngx_core_module.html#include
  42. # for more information.
  43. include /etc/nginx/conf.d/*.conf;
  44.  
  45. }
Advertisement
Add Comment
Please, Sign In to add comment