Skip to content

Commit da8db10

Browse files
authored
examples: Improve HTTP/2 performance with Nginx
Closes #1106
1 parent 7178845 commit da8db10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/nginx.conf

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ server {
3838
ssl_session_cache shared:SSL:5m;
3939
ssl_session_tickets off;
4040

41+
# Tune settings for fast HTTP/2 uploads
42+
# https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
43+
http2_body_preread_size 512k;
44+
4145
server_name tusd.tusdemo.net;
4246

4347
# certbot will place the files required for the HTTP challenge in the

0 commit comments

Comments
 (0)