nginx.conf 559 B

12345678910111213141516171819202122232425262728293031
  1. daemon off;
  2. user www-data;
  3. pid /run/nginx.pid;
  4. worker_processes auto;
  5. include /etc/nginx/modules-enabled/*.conf;
  6. events {
  7. worker_connections 768;
  8. }
  9. http {
  10. sendfile on;
  11. tcp_nopush on;
  12. tcp_nodelay on;
  13. keepalive_timeout 65;
  14. types_hash_max_size 2048;
  15. include /etc/nginx/mime.types;
  16. default_type application/octet-stream;
  17. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  18. ssl_prefer_server_ciphers on;
  19. access_log /dev/stdout;
  20. error_log /dev/stdout info;
  21. include /etc/nginx/conf.d/*.conf;
  22. include /etc/nginx/sites-enabled/*;
  23. }
  24. include /etc/nginx/rtmp.conf;