/silk/conf_templates/nginx_root.conf

https://bitbucket.org/btubbs/silk-deployment/ · Config · 33 lines · 24 code · 9 blank · 0 comment · 0 complexity · ffbcb9ed364bf9fdd765e1d7ecb439f7 MD5 · raw file

  1. user www-data;
  2. worker_processes 4;
  3. error_log /var/log/nginx/error.log;
  4. pid /var/run/nginx.pid;
  5. events {
  6. worker_connections 1024;
  7. # multi_accept on;
  8. }
  9. http {
  10. include /etc/nginx/mime.types;
  11. access_log /var/log/nginx/access.log;
  12. sendfile on;
  13. #tcp_nopush on;
  14. #keepalive_timeout 0;
  15. keepalive_timeout 65;
  16. tcp_nodelay on;
  17. gzip on;
  18. gzip_disable "MSIE [1-6]\.(?!.*SV1)";
  19. #includes that come with stock nginx
  20. include /etc/nginx/conf.d/*.conf;
  21. include /etc/nginx/sites-enabled/*;
  22. #include config files from all silk sites
  23. include %(srv_root)s/*/conf/nginx.conf;
  24. }