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:
Chocobozzz 2024-08-12 17:01:09 +02:00
parent a955a11e4b
commit 9819887668
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 3 deletions

View File

@ -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