mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-07-24 07:10:47 -04:00
enable sendfile support again
There's a remaining issue fixed in mainline that's not fixed in the current stable branch yet, but it doesn't apply unless HTTP/2 is being used without encryption. Currently sendfile is only really used for the backend proxy connections in practice due to TLS, and those are never HTTP/2.
This commit is contained in:
parent
21059f1360
commit
316a5c696b
1 changed files with 1 additions and 2 deletions
|
@ -16,8 +16,7 @@ http {
|
|||
charset utf-8;
|
||||
charset_types text/css text/plain text/xml application/atom+xml application/javascript;
|
||||
|
||||
# sendfile + AIO is buggy without fixes from nginx master
|
||||
#sendfile on;
|
||||
sendfile on;
|
||||
sendfile_max_chunk 512k;
|
||||
tcp_nopush on;
|
||||
keepalive_timeout 3m;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue