uci.conf.template 730 B

123456789101112131415161718192021222324252627282930313233
  1. # Consider using UCI or creating files in /etc/nginx/conf.d/ for configuration.
  2. # Parsing UCI configuration is skipped if uci set nginx.global.uci_enable=false
  3. # For details see: https://openwrt.org/docs/guide-user/services/webserver/nginx
  4. worker_processes auto;
  5. user root;
  6. events {}
  7. http {
  8. access_log off;
  9. log_format openwrt
  10. '$request_method $scheme://$host$request_uri => $status'
  11. ' (${body_bytes_sent}B in ${request_time}s) <- $http_referer';
  12. include mime.types;
  13. default_type application/octet-stream;
  14. sendfile on;
  15. client_max_body_size 128M;
  16. client_header_buffer_size 2k;
  17. large_client_header_buffers 4 4k;
  18. gzip on;
  19. gzip_vary on;
  20. gzip_proxied any;
  21. root /www;
  22. #UCI_HTTP_CONFIG
  23. include conf.d/*.conf;
  24. }