You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
600 B

  1. # Please consider creating files in /etc/nginx/conf.d/ instead of editing this.
  2. # For details see https://openwrt.org/docs/guide-user/services/webserver/nginx
  3. worker_processes auto;
  4. user root;
  5. events {}
  6. http {
  7. access_log off;
  8. log_format openwrt
  9. '$request_method $scheme://$host$request_uri => $status'
  10. ' (${body_bytes_sent}B in ${request_time}s) <- $http_referer';
  11. include mime.types;
  12. default_type application/octet-stream;
  13. sendfile on;
  14. client_max_body_size 128M;
  15. large_client_header_buffers 2 1k;
  16. gzip on;
  17. gzip_vary on;
  18. gzip_proxied any;
  19. root /www;
  20. include conf.d/*.conf;
  21. }