mirror of https://github.com/Chocobozzz/PeerTube
Log static requests
We don't use webtorrent anymore so we should not be spammed with too much byte range requests anymorepull/6562/head
parent
a955a11e4b
commit
9819887668
|
@ -243,9 +243,6 @@ server {
|
|||
add_header Access-Control-Allow-Origin '*';
|
||||
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';
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue