Guest User

Untitled

a guest
Apr 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. user rails rails;
  2. worker_processes 3;
  3.  
  4. error_log /opt/nginx/logs/error.log;
  5. pid /opt/nginx/logs/nginx.pid;
  6.  
  7. events {
  8. worker_connections 1024;
  9. }
  10.  
  11. http {
  12. include /opt/nginx/conf/mime.types;
  13. default_type application/octet-stream;
  14.  
  15. access_log /opt/nginx/logs/access.log;
  16.  
  17. sendfile on;
  18. #tcp_nopush on;
  19.  
  20. #keepalive_timeout 0;
  21. keepalive_timeout 10;
  22. tcp_nodelay on;
  23.  
  24. client_max_body_size 8m;
  25.  
  26. gzip on;
  27. gzip_comp_level 9;
  28. gzip_proxied any;
  29. gzip_types text/plain text/html text/css text/xml application/xml application/xml+rss text/javascript application/x-javascript;
  30.  
  31. include /opt/nginx/conf.d/*.conf;
  32. include /opt/nginx/sites-enabled/*;
  33. }
Add Comment
Please, Sign In to add comment