2020-01-20 21:49:27 +00:00
|
|
|
# Please consider creating files in /etc/nginx/conf.d/ instead of editing this.
|
|
|
|
# For details see https://openwrt.org/docs/guide-user/services/webserver/nginx
|
|
|
|
|
2020-05-12 09:00:00 +00:00
|
|
|
worker_processes auto;
|
|
|
|
|
2020-01-20 21:49:27 +00:00
|
|
|
user root;
|
|
|
|
|
|
|
|
events {}
|
|
|
|
|
|
|
|
http {
|
|
|
|
access_log off;
|
|
|
|
log_format openwrt
|
|
|
|
'$request_method $scheme://$host$request_uri => $status'
|
|
|
|
' (${body_bytes_sent}B in ${request_time}s) <- $http_referer';
|
|
|
|
|
|
|
|
include mime.types;
|
|
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
|
|
|
2020-03-20 18:03:18 +00:00
|
|
|
client_max_body_size 128M;
|
2020-01-20 21:49:27 +00:00
|
|
|
large_client_header_buffers 2 1k;
|
|
|
|
|
|
|
|
gzip on;
|
|
|
|
gzip_vary on;
|
|
|
|
gzip_proxied any;
|
|
|
|
|
|
|
|
root /www;
|
|
|
|
|
|
|
|
include conf.d/*.conf;
|
|
|
|
}
|