http.t.template 796 B

1234567891011121314151617181920212223242526272829303132333435
  1. ## user www www; ## Default: nobody
  2. ## worker_processes 5; ## Default: 1
  3. daemon off;
  4. error_log logs/error.log;
  5. pid logs/nginx.pid;
  6. worker_rlimit_nofile 8192;
  7. events {
  8. worker_connections 4096; ## Default: 1024
  9. }
  10. http {
  11. include build/conf/mime.types;
  12. index index.html;
  13. default_type application/octet-stream;
  14. log_format main '$remote_addr - $remote_user [$time_local] $status '
  15. '"$request" $body_bytes_sent "$http_referer" '
  16. '"$http_user_agent" "$http_x_forwarded_for"';
  17. access_log logs/access.log main;
  18. sendfile on;
  19. tcp_nopush on;
  20. tcp_nodelay on;
  21. keepalive_timeout 65;
  22. types_hash_max_size 2048;
  23. server {
  24. listen $(HOST):$(PORT);
  25. server_name $(HOST);
  26. root html;
  27. location / {
  28. }
  29. }
  30. }