Advertisement
alpa_s

Untitled

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