nginx.conf 594 B

1234567891011121314151617181920212223242526272829303132333435
  1. daemon off;
  2. user www-data;
  3. worker_processes 1;
  4. pid /run/nginx.pid;
  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. server_tokens off;
  16. include /etc/nginx/mime.types;
  17. default_type application/octet-stream;
  18. # SSL Settings
  19. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  20. ssl_prefer_server_ciphers on;
  21. # Logging Settings
  22. access_log /dev/stdout;
  23. error_log /dev/stdout info;
  24. gzip off;
  25. include /etc/nginx/conf.d/*.conf;
  26. include /etc/nginx/sites-enabled/*;
  27. }