Log static requests
We don't use webtorrent anymore so we should not be spammed with too much byte range requests anymore
This commit is contained in:
parent
a955a11e4b
commit
9819887668
|
@ -243,9 +243,6 @@ server {
|
||||||
add_header Access-Control-Allow-Origin '*';
|
add_header Access-Control-Allow-Origin '*';
|
||||||
add_header Access-Control-Allow-Methods 'GET, OPTIONS';
|
add_header Access-Control-Allow-Methods 'GET, OPTIONS';
|
||||||
add_header Access-Control-Allow-Headers 'Range,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
add_header Access-Control-Allow-Headers 'Range,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
|
||||||
|
|
||||||
# Don't spam access log file with byte range requests
|
|
||||||
access_log off;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Enabling the sendfile directive eliminates the step of copying the data into the buffer
|
# Enabling the sendfile directive eliminates the step of copying the data into the buffer
|
||||||
|
|
Loading…
Reference in New Issue