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.

28 lines
575 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. user root;
  4. events {}
  5. http {
  6. access_log off;
  7. log_format openwrt
  8. '$request_method $scheme://$host$request_uri => $status'
  9. ' (${body_bytes_sent}B in ${request_time}s) <- $http_referer';
  10. include mime.types;
  11. default_type application/octet-stream;
  12. sendfile on;
  13. client_max_body_size 17M;
  14. large_client_header_buffers 2 1k;
  15. gzip on;
  16. gzip_vary on;
  17. gzip_proxied any;
  18. root /www;
  19. include conf.d/*.conf;
  20. }